Skip to content

Instantly share code, notes, and snippets.

@dubrowgn
Last active November 16, 2017 05:21
Show Gist options
  • Save dubrowgn/363f0902bcd0a8075b0f86c94f9a62b9 to your computer and use it in GitHub Desktop.
Save dubrowgn/363f0902bcd0a8075b0f86c94f9a62b9 to your computer and use it in GitHub Desktop.
The Language I Wish I Used
  • native utf-8 (mutable vector strings, immutable slices for statics)
  • namespaces/modules
  • implicit memory management (like rust), or explicit with optional garbage collection (full GC, or leak/use-after-free checker)
  • explicit move/copy/borrow semantics
  • generics
  • native map/list/vector support (like clojure)
  • native iterator support (like linq)
  • structs/enums/tagged unions
  • rust style function signatures, incl. explicit self parameter
  • functions return tuples
  • function overloading
  • only one 'type' of function
  • only sized int types
  • native null support (like c# primatives)
  • native result support
  • better syntax for block-level returns
  • native set operator support (i.e. 'c' in {'a', 'b', 'c'} => true)
  • async or greenthread support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment