News for hackers. Stuff that matters.
Re:The Costs of Programming Language Fragmentation by gonzo41 on Tuesday October 02, 2018 @12:05PM (#18122907)
you just gave me a great idea for a new language, Well actually a big library of ASM code that every other language could write wrappers to to get low level gains on all the boilerplate. Then we could all focus on making that really fast.
Re:The Costs of Programming Language Fragmentation by amelius on Tuesday October 02, 2018 @01:06PM (#18123538)
You forget that every language has its own ABI, and runtime quirks. Sending a string to a function works differently in C vs Java vs Python vs ...

Sending objects with references to other objects (which may need to be GC'ed) is even more difficult.

Re:The Costs of Programming Language Fragmentation by elcritch on Tuesday October 02, 2018 @01:13PM (#18123600)
The Truffle VM stuff takes an interesting approach by (afaik) executing the languages getter/setters and then having a common data format (I presume?). What if someone could make a LLVM version of that?
Re:The Costs of Programming Language Fragmentation by mike_hearn on Tuesday October 02, 2018 @05:29PM (#18125871)
They already did:

https://github.com/oracle/graal/tree/master/sulong

It's a part of Graal itself now. It runs C, C++, Rust, etc.