Skip to content

Instantly share code, notes, and snippets.

View AmjadHD's full-sized avatar

Amjad Ben Hedhili AmjadHD

View GitHub Profile

Cheap exceptions

Goals:

  • Avoid Rust's Option/Either manual error handling strategy.
  • Make exceptions cheaper.
  • Avoid error translation between Nim libraries by construction. The new vocabulary type ErrorCode is what should be used. Wrappers should translate errors to ErrorCode.
  • Make the error out of memory easier to handle.
  • Resolve once and for all the "error codes vs exceptions" choice.
@OdatNurd
OdatNurd / .python-version
Last active March 12, 2023 17:04
Browse all Sublime Text commands provided by plugins
3.8
@jfcherng
jfcherng / st4-changelog.md
Last active April 20, 2024 00:25
Sublime Text 4 changelog just because it's not on the official website yet.
%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
name: Nim
file_extensions:
- nim
- nims
scope: source.nim
contexts:
main: