points by pjmlp 9 years ago

All these GC languages (RC is GC, just in case) do allow stack allocations for any user defined type.

Mesa/Cedar, Modula-2+, Modula-3, Oberon, Oberon-2, Active Oberon, Component Pascal, Eiffel, D, Swift

Dylan16807 9 years ago

Listing largely-obscure languages and repeating them multiple times doesn't do much against a claim of "most".

  • weberc2 9 years ago

    Java, Go, and C# all do stack allocation either implicitly via escape analysis (Java), explicitly via value types (C#), or both (Go). I don't know that this is "most" (perhaps by marketshare), but these are certainly 3 of the most popular languages in this space.

    • Dylan16807 9 years ago

      That answer is fair, and it sounds like btmorex is completely wrong. Thank you.

  • pjmlp 9 years ago

    Well, the Algol derived ones, might be a bit obscure for those that haven't learned history of computing, but they are quite well known.

    I can list other ones that are actually quite obscure.

    In any case, I also had D and Swift on the list, which are quite actual.

    As for the rest, I don't have anything to add to weberc2's answer.

CyberDildonics 9 years ago

The unfortunate part is finding good IDEs with solid debuggers and auto-completion.

  • pjmlp 9 years ago

    Yes, but that is not relevant for those that live on VI and Emacs.

  • weberc2 9 years ago

    Go has excellent auto-completion support, even for vim. It's debugger (delve) is also decent, though not graphical. There are not many languages with better tooling than Go, in my experience.

    • NateDad 9 years ago

      FYI, delve is integrated into a lot of editors, and basically works exactly like visual studio when used in VS Code (I used visual studio for C++ & C# for 13 years before moving to Go).