Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by SomeoneOnTheWeb

3 days ago

Can't you do the exact same in compiled languages e.g. C or Rust?

1 comment

SomeoneOnTheWeb

Reply

shikon7  3 days ago

You can, but allocating and deallocating is more tedious without a GC, and if you care about performance, you might want to have mutable strings.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities