4 ms·
My own project (FLINT) is about 120k lines, and we're still going with C. I did spend a lot of time looking for a theoretical higher level language which could
by wbhart 15y ago
My own project (FLINT) is about 120k lines, and we're still going with C. I did spend a lot of time looking for a theoretical higher level language which could take us further when C ran out of puff, but we eventually decided to stick with C for the main project.
However, I did eventually spot Julia, which is totally awesome for my own personal higher level needs.
- freehunter 15y agoFor what it's worth, I've done a lot in Lua, dropping to C (on rare occasions) to offload heavy processing elements where a scripting language would choke. Many game developers do their interface and game scripts in Lua then run the engine in C as well. It keeps the C code light and clean and brings down the number of manhours required to build and maintain a project. I don't know what FLINT is or what Julia is used for (Wikipedia makes it sound like a functional language?) so Lua might not be the best fit, but it's designed from the ground up to mesh with C (to the point where the solution to many otherwise simple things is "write that bit in C")
- walrus 15y agoFLINT is a library for number theory: https://en.wikipedia.org/wiki/Fast_Library_for_Number_Theory https://en.wikipedia.org/wiki/Fast_Library_for_Number_Theory
- wbhart 15y agoLua is not suitable from my point of view due to the lack of proper integer types (and many other features).
- freehunter 15y agoI understand it's not for every purpose (and I have no stake in if you use it or not), but it can be metaprogrammed and extended with C. I'm not really a programmer in my day job though, I use it mainly for automation of things I don't want to do by hand.