4 ms·
ooc is a ... high-level, low-level programming language. Can someone please explain how it can be both?
by pierrefar 16y ago
ooc is a ... high-level, low-level programming language.
Can someone please explain how it can be both?
- nddrylliog 16y agoIt can be very expressive and high-level when you just want to get stuff done - but it also allows you to get down to the bare metal in case you have to/want to. You can turn off the GC, control when and how the memory gets allocated, use pointers to deal with raw memory blocks, easily link with ASM, and the consuming features are easy to avoid - leaving you with a nicer syntax for C. Of course, in the real world you probably want to find a compromise and not go 'full metal'.
- pierrefar 16y agoThanks. Makes sense now.
- albertzeyer 16y agoC++, as an example, can also be both.
- nddrylliog 16y agoI agree that C++ can be very low-level. As far as being high-level.. it's still desperately stuck years in the past, even with all the bloat C++0x (or whatever it's actually called) brings to it =) </troll> (with a hint of truth)