Support Mono/LLVM as a runtime/jit
See original GitHub issueMono has a special “mode” called Mono/LLVM.
The basic premise with Mono/LLVM is that mono JIT is swapped out for LLVM as a JIT.
It would be great to add support for it in BDN to see how LLVM affects performance (if at all 😃)
I don’t know if there is a programmatic way to detect LLVM support, but here is a hack way…
On my machine, I have both versions of mono installed (With+Without LLVM), here is what mono -V
reports:
Without LLVM:
Mono JIT compiler version 4.4.1 (Nightly 4.4.1.0/4747417 Wed Jun 22 11:14:49 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
With LLVM:
Mono JIT compiler version 4.4.1 (explicit/4747417 Wed Jun 22 19:25:42 IDT 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-master/9f79399)
GC: sgen
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
LLVM powered Mono : r/programming
I'd be interested to hear why he thinks LLVM can't support try/catch blocks. It already implements exception handling for both C++ and Java ......
Read more >About advanced programming on Unity and game ...
Mono today has two code generators, the light and fast mini JIT engine, and the heavy duty engine based on the LLVM optimizing...
Read more >mono
Mono is a software platform designed to allow developers to easily create cross platform applications. It is an open source implementation of Microsoft's...
Read more >BenchmarkDotNet v0.9.9
#225 Refactoring the roslyn dependency into another package; #226 Support Mono/LLVM as a runtime/jit; #227 Suggestion: change default branch (assignee: ...
Read more >Full ChangeLog | BenchmarkDotNet
#224 [Breaking change] BenchmarkAttribute become sealed. #225 Refactoring the roslyn dependency into another package; #226 Support Mono/LLVM as a runtime/jit; # ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I failed to build mono+llvm, there are some troubles on my linux machine. However, I looked at the source code, it looks fine. =) Let’s assumed that llvm works until somebody sends a bug report. =)
Ok, I will check it.