Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
alg0w
@alg0w@social.vivaldi.net  ·  activity timestamp 3 weeks ago

@michalfita @nullagent And for #Rust they come from webdev... (it is a joke). But my point still holds – people use Rust because it is fashionable, there are plenty of strongly typed languages. Yes Rust was first language that popularized affine type system – and that's good. But handling allocated resources isn't the only thing that is relevant for correctness. In #Ada for example you can write substantial programs without *ever* using dynamically allocated memory. Also in Ada you can have bounded types like an integer from 1 to 10 etc. Also Ada has a specification and is ISO standard. Compiler (gnat) is GPL licensed compared to MIT which is prone to corporate hostile project takeover. I hope you understood my point – Rust fans should compare Rust with some langue within its own league and not beat a grandpa C.

  • Copy link
  • Flag this post
  • Block
Michał Fita
@michalfita@mastodon.social replied  ·  activity timestamp 3 weeks ago

@alg0w @nullagent You can write #Rust programs which do not use dynamic allocation, better stick to `!#[no_std]` what embedded systems do.

Grandpa #C as you called it is a grandpa for a reason. Today people leave universities and haven't seen line of code in C. The pool of potential maintainers for that old code is shrinking faster that I type this post.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login