News for hackers. Stuff that matters.
Re:Rust: Enable WebAssembly backend by default by stmw on Sunday November 26, 2017 @05:54PM (#15783562)
I actually think .Net runtime does a well above-average job with this - including clear declarations of managed and unmanaged code - so your ARM project sounds great & what I would expect. I just don't think it's true of "majority" of programming languages, at least if you count by number of users or HN popularity. We're both right.
Re:Rust: Enable WebAssembly backend by default by Const-me on Sunday November 26, 2017 @10:06PM (#15784529)
Besides C, C++ and .NET, I have some experience with Python, Perl, VB6 and VBA. All of them have some form of C interop reasonably easy to use.

I also have some experience with Java, JavaScript and PHP. They don’t.

Re:Rust: Enable WebAssembly backend by default by stmw on Sunday November 26, 2017 @11:48PM (#15784918)
You have seem Python, Perl or VB6/VBA being called from C code, in a seamless, high-performance way? I suppose it's all a matter of degree, rather than black-and-whites, and perhaps things have improved - but I'm just surprised.
Re:Rust: Enable WebAssembly backend by default by Const-me on Monday November 27, 2017 @08:06AM (#15786965)
A bit more complex than .NET, but only a bit.

Python: https://stackoverflow.com/a/33485103/126995

Basic: http://codingdomain.com/visualbasic/win32api/callback/

About the performance… Neither of these languages are particularly fast in the first place :-) But I don't see a reason why these callbacks might be too slow.