Skip to main content

All Questions

3 votes
1 answer
100 views

What is the correct way to publish a runtime? Should it be a singleton?

I have a compiler for a programming language that targets JavaScript. That language needs some global functions such as: alloc, memcpy, write and so on. My question is: where should I position those ...
MaiaVictor's user avatar
  • 5,850