I recently saw a post about being able to call LLVM APIs from .NET using a C# library. I'm thinking if it'll produce the same code as using the LLVM C++ API. Will it be less efficient? If it is the same why wouldn't every one use a higher level language like C# or Java to write their compiler? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150314/f5626239/attachment.html>
On 13 March 2015 at 20:10, Dave Pitsbawn <dpitsbawn at gmail.com> wrote:> If it is the same why wouldn't every one use a higher level language like C# > or Java to write their compiler?Language wars? Aren't there newsgroups and forums for that kind of thing? Generally, the same kind of arguments for each language family apply to compilers as anywhere else. With the added factor that LLVM itself is written in C++, so if you use anything different you're likely to suffer from mismatching expectations unless your FFI has had a lot of work put in. Cheers. Tim.
No language war intended :) Just curios. Alright, so there maybe a difference. Thank you On Sat, Mar 14, 2015 at 3:46 AM, Tim Northover <t.p.northover at gmail.com> wrote:> On 13 March 2015 at 20:10, Dave Pitsbawn <dpitsbawn at gmail.com> wrote: > > If it is the same why wouldn't every one use a higher level language > like C# > > or Java to write their compiler? > > Language wars? Aren't there newsgroups and forums for that kind of thing? > > Generally, the same kind of arguments for each language family apply > to compilers as anywhere else. With the added factor that LLVM itself > is written in C++, so if you use anything different you're likely to > suffer from mismatching expectations unless your FFI has had a lot of > work put in. > > Cheers. > > Tim. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150314/400ea630/attachment.html>