Re:Compilers targeting C - a list of open source compilers t...
by wyager on Sunday January 10, 2016 @03:20PM
(#10876999)
I did not know Idris targeted C!
Idris seems really great, but I can't use it for much because its standard library is sorely lacking. If someone were to port over an equivalent of Haskell's Base (including Network, Map, Seq, Vector, etc.) I would probably start using it for real work.
Re:Compilers targeting C - a list of open source compilers t...
by trajing on Sunday January 10, 2016 @04:33PM
(#10877303)
Excuse me if I'm wrong, but isn't compiling to C instead of e.g. LLVM IR generally considered bad practice unless you have a very good reason due to all of C's undefined behavior?
Re:Compilers targeting C - a list of open source compilers t...
by hnbro on Sunday January 10, 2016 @05:07PM
(#10877444)
there are certainly arguments to be made about UB (though i don't think llvm ir is free of it). on the other hand, llvm is ostensibly less portable and it's infrastructure is a rather massive beast to work with.
* Idris : http://www.idris-lang.org/
* Ivory : http://ivorylang.org/
* ATS : http://www.ats-lang.org/
* Mbeddr : http://mbeddr.com/
Idris seems really great, but I can't use it for much because its standard library is sorely lacking. If someone were to port over an equivalent of Haskell's Base (including Network, Map, Seq, Vector, etc.) I would probably start using it for real work.
It was my university project. It’s not really useful, but it was extremely fun to work on.
[0] https://www.varnish-cache.org/docs/trunk/reference/varnishd....
1. https://github.com/Neopallium/slua
[0]: http://zephir-lang.com/
http://www.ceu-lang.org
(I'm the author of Céu.)
Vala is essentially sugar for the GObject API. Zephir is the same for the Zend Engine API.