|
|
|
|
|
by FBMachine
2697 days ago
|
|
Hi Chris, thanks for checking it out. The first code push for Bon was today, so many things are of course rough around the edges. Memory will be garbage collected, though I am aiming for zero-cost as much as possible. At the moment it just leaks memory like a sieve as I work out the semantics. You can indeed import standard c library calls by using a cdef. You can find examples in the stdlib, e.g.: cdef sqrt(x:float) -> float Thanks again for taking a look! |
|
A fast scripting language that is not a PITA, and not tied to a proprietary ecosystem, could carve out a place.
But please ensure that something like destructors remain possible and uncrippled. There are so many more kinds of resources to manage than memory, and we are beginning to accumulate many kinds of memory, too. When you have a solution for general resource management, memory management itself becomes a trivium, or gets locally tunable.