2 comments

  • bb8845 minutes ago
    How does it deal with pointers if everything is stack based? You can't really return a pointer to something on the stack because it could get overwritten between when you return it and when you access it.
    • zabzonk7 minutes ago
      Well, it does say:<p>&quot;Everything is stack-allocated by default; heap is opt-in through the standard library.&quot;<p>So it supports both stack and heap, and I guess static allocation too.
  • leecommamichael1 hour ago
    I really like this idea. I was reading a post earlier about how Go generics are implemented, and how they&#x27;re sort of leveraging root GC-types in the &quot;runtime&quot; to avoid the same bloat as monomorphization causes in, say, C++. I wonder how Solod will do that? I guess plain monomorphization? I guess that&#x27;s fine since C compilers are so speedy.