Timeline for What do other languages offer when it comes to infrastructure technology that could indicate its advantage over C in the future?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 13, 2013 at 12:30 | history | edited | John R. Strohm | CC BY-SA 3.0 |
Change "ADA" to "Ada". Ada is a programming language, named for Ada Augusta, Countess Lovelace. It is not an acronym.
|
Aug 13, 2013 at 8:38 | comment | added | Jan Hudec | @MarcDefiant: It does not seem to allow to call that memory though. And it's the wrong way around. The unsafe part has to be built into the language, because you can build the safe part on the unsafe, but you can't build the unsafe part with just the safe part. | |
Aug 13, 2013 at 8:26 | comment | added | MarcDefiant | @JanHudec There seams to be a go package called "unsafe" which allows a program to read and write arbitrary memory: golang.org/pkg/unsafe | |
Aug 13, 2013 at 7:33 | comment | added | Jan Hudec | You can write compression/decompression in about anything with similar efficiency (heavily templated C++ probably being the fastest) and best language for interpreter implementation is said to be Haskell. And for virtual machines with JIT or at least computed goto runcores, Go is of no use, because it does not support calling random calculated addresses. | |
Aug 13, 2013 at 7:28 | comment | added | James Anderson | @Jan -- I agree you could not use it for device drivers, or, to implement a garbage collector (how can you implement a garbage collector in a language which has garbage collection?). However its good for compression/decompresion, interpreter implementation etc. Also its well within the capabilities of Pike et. al. to implement a non garbage collecting version for low level coding if they saw a need. | |
Aug 13, 2013 at 6:33 | comment | added | Jan Hudec | Google Go can't compete in this space, because it hardcoded the garbage collector too deep. There is no "unsafe go" and without that you can't implement the lowest layers. | |
Aug 13, 2013 at 6:31 | comment | added | Jan Hudec | Well, C++ contains all of C with some minor differences, so you can use various subsets of C++ as appropriate to avoid overheads and take advantage of it's benefits. | |
Aug 13, 2013 at 5:24 | history | answered | James Anderson | CC BY-SA 3.0 |