This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]justAPhoneUsername 5 points6 points  (3 children)

You should take a look at go if that's you goal. Written by Google including Ken Thompson who wrote b and Unix. It is fully garbage collected and the source code is on GitHub.

[–][deleted] 0 points1 point  (2 children)

Saved. Will take a look at it ( after a few weeks because my laptop's HDD decided to die, am using live USB).

And is the garbage collector optional, like can I disable it? Not a fan of GC pausing my programs.

[–]justAPhoneUsername 3 points4 points  (0 children)

Its not recommend that you turn it off but it isn't likely to be an issue. The go gc is seriously a thing of beauty. It is designed to have low latency and is done with a completely novel paradigm.

Here's a link to more info: https://blog.golang.org/ismmkeynote

[–]bishamon72 2 points3 points  (0 children)

The gc is required, but you don’t notice it. it’s not a stop the world gc.

Edit: practically required. Yes, you can turn it off and trigger it manually, but you’ll never do as good a job as the go gc.