mys-lang / mys

The Mys programming language - an attempt to create a statically typed Python-like language that produces fast binaries. See https://mys-lang.org for more information.
Other
132 stars 5 forks source link

ToDo list #15

Open eerimoq opened 3 years ago

eerimoq commented 3 years ago

Just to remember what is left to do. The list is by no means complete.

General

Memory

Postponed

pfalcon commented 3 years ago

Exception backtrace, but how?

Zig is known to brag about its backtraces: https://ziglang.org/#Stack-traces-on-all-targets . Given that it's another dead-in-the-water language, makes sense to steal as much as possible from it.

eerimoq commented 3 years ago

Will have a look eventually, thanks.

pfalcon commented 3 years ago

Don't forget about the usual glibc backtracing support - https://www.gnu.org/software/libc/manual/html_node/Backtraces.html . I for example used it in early days of micropython hacking, when I wasn't familiar with the codebase. The whole point of Zig bragging is that they implemented something like that even for baremetal targets (supposedly, in lightweight manner, though definition of "lightweight" varies for different people).