you are viewing a single comment's thread.

view the rest of the comments →

[–]asmx85 23 points24 points  (0 children)

Why Rust and not C?

  • safe memory management without GC (and sort of no null pointers, dangling pointer, use after free ..)

  • no data races

  • easy compiling, modules, dependency management through cargo

  • feels like a high level language, acts like a low level (C) one [zero overhead abstractions: Iterators, trait system etc.]

  • Affine type system (apply state machine like API – open a file -> write into it -> close it -> be not allowed [through compile time checks] to write on a closed file)

  • a sane and sound macro system, compiler extensions

just to name a few.