25

A friend of mine and I decided we wanted to fork linux and port it to C++.

Sounds crazy yea, but there are many benefits:

1) More secure due to ability to use references
2) More sustainable due to the extensive standard lib

Not only would we port linux to C++, we would improve it as far as possible.

So now for the part of the rant where I misuse devRant as an advertizement platform. to those interested in helping, here is the poll where you can get included into the mailing list:
https://docs.google.com/forms/d/...

Comments
  • 6
    Could you expand on your first point?
  • 12
    If you want to go for security, why not go with rust?
    C++ doesn't seem really better to me
  • 3
    @ElToastGrande rust vould need an entire rewriting
  • 1
    @sSam references and poinhors both point to somewhere on the ram. the difference is, that pointers are stored on the ram while references are stored on the stack. This allows for injection attacks
  • 2
    @gnulinuxer4fun no? Pointers are also stored on stack?
  • 4
    @IllSlapU yep
  • 15
    Or Port it to JS. ๐ŸŒš
  • 1
    @IllSlapU naw he'd just make them feel like idiots probably. Or try anyway.
  • 3
    Lol. Am waiting to see this get to the mailing list๐Ÿ˜‚
  • 6
    @gnulinuxer4fun yea no that's just wrong. References and ptrs optimize to exact same assembly stored all the same ways. References MAY be nice to use since you don't have null but they have their own problems too and can't be just swapped out in all cases

    Also Linux has a struct called class so have fun with renaming that. Also c and c++ have subtly different type alaising rules so have fun finding my the newly created undefined behavior that will cause your port to "randomly" crash
  • 1
    @CodesNotHot what have you done?
Add Comment