Post 9zDFP0RF4WLiNUt9w8 by EZ2ACTux@fedi.absturztau.be
 (DIR) More posts by EZ2ACTux@fedi.absturztau.be
 (DIR) Post #9zDFHZPXA444WhXmls by tuxcrafting@fedi.absturztau.be
       2020-09-16T09:53:09.803233Z
       
       0 likes, 1 repeats
       
       ada is being such a piece of shiti want to rewrite the kernel again help
       
 (DIR) Post #9zDFKlSCqFqmkKJiQS by absturztaube@fedi.absturztau.be
       2020-09-16T09:53:43.640555Z
       
       1 likes, 0 repeats
       
       @tuxcrafting :blobcatsadreach: hug?
       
 (DIR) Post #9zDFMbYWc6dqcw9N6O by tuxcrafting@fedi.absturztau.be
       2020-09-16T09:54:04.350175Z
       
       0 likes, 0 repeats
       
       but in what?- D is honestly ill-suited to kernel dev- C is P a i nso i guess C++?
       
 (DIR) Post #9zDFOsY2PN21uG0TQ0 by zaun@fedi.absturztau.be
       2020-09-16T09:54:29.021775Z
       
       1 likes, 0 repeats
       
       @tuxcrafting have you heard of rust?
       
 (DIR) Post #9zDFP0RF4WLiNUt9w8 by EZ2ACTux@fedi.absturztau.be
       2020-09-16T09:54:18.264767Z
       
       1 likes, 0 repeats
       
       @tuxcrafting Heh, D
       
 (DIR) Post #9zDFQCuCCnTlKj0KLA by tuxcrafting@fedi.absturztau.be
       2020-09-16T09:54:43.192369Z
       
       0 likes, 0 repeats
       
       @EZ2ACTux not /this/ D
       
 (DIR) Post #9zDFQzXtMVkkBjwhsW by p@lol.dydx.moe
       2020-09-16T09:54:51.140930Z
       
       1 likes, 0 repeats
       
       C++17 @tuxcrafting
       
 (DIR) Post #9zDFRhHmjl0rqWkSsi by EZ2ACTux@fedi.absturztau.be
       2020-09-16T09:54:55.479106Z
       
       1 likes, 0 repeats
       
       @tuxcrafting Suuurrreeee
       
 (DIR) Post #9zDFSfNXJVGSDjtuAy by zaun@fedi.absturztau.be
       2020-09-16T09:55:09.670494Z
       
       1 likes, 0 repeats
       
       @tuxcrafting DONT
       
 (DIR) Post #9zDFTtKIwPpxliyOgq by zaun@fedi.absturztau.be
       2020-09-16T09:55:23.387220Z
       
       1 likes, 0 repeats
       
       @tuxcrafting @EZ2ACTux hehe D
       
 (DIR) Post #9zDFaUctAsivBnoVwO by BadAtNames@mastodon.technology
       2020-09-16T09:54:56Z
       
       1 likes, 0 repeats
       
       @tuxcrafting 🦀
       
 (DIR) Post #9zDFbUqVqKScA0fGme by tuxcrafting@fedi.absturztau.be
       2020-09-16T09:56:45.847936Z
       
       1 likes, 0 repeats
       
       @zaun 🦀 🔫
       
 (DIR) Post #9zDFboaaRFbZOPMpjk by flydelion@tilde.zone
       2020-09-16T09:56:37Z
       
       1 likes, 0 repeats
       
       @tuxcrafting Hmm here are a few ideas:- Common Lisp ??- Scheme (You will get tied to one compiler)- Haskell- OCaml
       
 (DIR) Post #9zDFf1aSZKkIZdq2fQ by tuxcrafting@fedi.absturztau.be
       2020-09-16T09:57:24.114656Z
       
       0 likes, 0 repeats
       
       @flydelion this is for a kernel. running in a bare-metal, runtimeless context
       
 (DIR) Post #9zDFhxKSrA5mEjkq0G by fuck@lord.sh
       2020-09-16T09:57:54.586866Z
       
       0 likes, 1 repeats
       
       @tuxcrafting not c++ try again.
       
 (DIR) Post #9zDFjKA7RtK3LGZHBA by flydelion@tilde.zone
       2020-09-16T09:58:01Z
       
       1 likes, 0 repeats
       
       @tuxcrafting I mean, you could achieve that with (a subset) of any of these.
       
 (DIR) Post #9zDFkV4INz2VSLP9jk by tuxcrafting@fedi.absturztau.be
       2020-09-16T09:58:23.491926Z
       
       0 likes, 0 repeats
       
       @fuck why not C++it's pretty nice
       
 (DIR) Post #9zDFnv1oK91Cq1sAIS by tuxcrafting@fedi.absturztau.be
       2020-09-16T09:59:00.596974Z
       
       0 likes, 0 repeats
       
       @zaun @EZ2ACTux yall are going to horny jail
       
 (DIR) Post #9zDFpl3AORq8TFNrEm by EZ2ACTux@fedi.absturztau.be
       2020-09-16T09:59:10.870292Z
       
       1 likes, 0 repeats
       
       @tuxcrafting @zaun WE'RE BRINGING YOU WITH US
       
 (DIR) Post #9zDFq2Sbf7I4T4Puka by zaun@fedi.absturztau.be
       2020-09-16T09:59:23.366779Z
       
       1 likes, 0 repeats
       
       @EZ2ACTux @tuxcrafting n-no
       
 (DIR) Post #9zDFq3XFfKbHnlb8d6 by tuxcrafting@fedi.absturztau.be
       2020-09-16T09:59:23.496025Z
       
       0 likes, 0 repeats
       
       @EZ2ACTux @zaun oh no
       
 (DIR) Post #9zDGBHUEzQ8V9WJJdw by EZ2ACTux@fedi.absturztau.be
       2020-09-16T10:03:02.869458Z
       
       1 likes, 0 repeats
       
       @zaun @tuxcrafting *boop*
       
 (DIR) Post #9zDGE8AW5gWr7bRYyO by fuck@lord.sh
       2020-09-16T10:03:44.011188Z
       
       1 likes, 0 repeats
       
       @tuxcrafting because lisp, lol
       
 (DIR) Post #9zDGQFirpZEm1cI6HQ by zaun@fedi.absturztau.be
       2020-09-16T10:05:56.238149Z
       
       1 likes, 0 repeats
       
       @EZ2ACTux @tuxcrafting lewding tuxy is wrong and you will be *bonk*ed a lot
       
 (DIR) Post #9zDGTZ9Y2tO39jLnpQ by tuxcrafting@fedi.absturztau.be
       2020-09-16T10:06:32.165196Z
       
       1 likes, 0 repeats
       
       @zaun @EZ2ACTux yes i'm pure uwu
       
 (DIR) Post #9zDGTz8jQYBNkjAWAK by EZ2ACTux@fedi.absturztau.be
       2020-09-16T10:06:20.573261Z
       
       1 likes, 0 repeats
       
       @zaun @tuxcrafting I'll bonk YOU you fiend!
       
 (DIR) Post #9zDGW5ltk2kutqUdGK by EZ2ACTux@fedi.absturztau.be
       2020-09-16T10:06:47.127387Z
       
       1 likes, 0 repeats
       
       @tuxcrafting @zaun "PURE"
       
 (DIR) Post #9zDGWlOcyx65zpvdp2 by tuxcrafting@fedi.absturztau.be
       2020-09-16T10:07:06.669383Z
       
       1 likes, 0 repeats
       
       @EZ2ACTux @zaun yes. i don't access global state
       
 (DIR) Post #9zDGdoOOEzZ5JeB7ce by zaun@fedi.absturztau.be
       2020-09-16T10:08:22.390059Z
       
       1 likes, 0 repeats
       
       @EZ2ACTux @tuxcrafting more importantly underage :blobupsidedown:
       
 (DIR) Post #9zDGfnnTQRiK33rOIS by tuxcrafting@fedi.absturztau.be
       2020-09-16T10:08:44.876118Z
       
       1 likes, 0 repeats
       
       @zaun @EZ2ACTux legal in most of the civilized world technically
       
 (DIR) Post #9zDGg5ev0zZ9RjzoSe by zaun@fedi.absturztau.be
       2020-09-16T10:08:47.914788Z
       
       1 likes, 0 repeats
       
       @tuxcrafting @EZ2ACTux me too uwu
       
 (DIR) Post #9zDGlDBUSmyaEYfnk0 by EZ2ACTux@fedi.absturztau.be
       2020-09-16T10:09:27.637173Z
       
       1 likes, 0 repeats
       
       @zaun @tuxcrafting Now you're guilty too
       
 (DIR) Post #9zDLu5byUJ9J7l76mm by kc@toot.party
       2020-09-16T11:06:54Z
       
       1 likes, 0 repeats
       
       @tuxcrafting hell yeah C++
       
 (DIR) Post #9zDcHjMeS6Z2LIF1KS by deavmi@mstdn.io
       2020-09-16T14:10:53Z
       
       0 likes, 0 repeats
       
       @tuxcrafting C is good
       
 (DIR) Post #9zDcIG2Ez0qTfXwgb2 by deavmi@mstdn.io
       2020-09-16T14:10:58Z
       
       0 likes, 0 repeats
       
       @tuxcrafting C++ ew
       
 (DIR) Post #9zDcKXsvaZlnbmgFnM by tuxcrafting@fedi.absturztau.be
       2020-09-16T14:11:22.230026Z
       
       0 likes, 0 repeats
       
       @deavmi no
       
 (DIR) Post #9zDcM7pRR7D9NLnqy0 by deavmi@mstdn.io
       2020-09-16T14:11:40Z
       
       1 likes, 0 repeats
       
       @tuxcrafting @fuck ew
       
 (DIR) Post #9zDcNe8qmaabslbgGm by deavmi@mstdn.io
       2020-09-16T14:11:58Z
       
       0 likes, 0 repeats
       
       @tuxcrafting yes
       
 (DIR) Post #9zDcPPJasYwuTeTIeG by deavmi@mstdn.io
       2020-09-16T14:12:16Z
       
       1 likes, 0 repeats
       
       @tuxcrafting wait did you do it in ada originally? 😂
       
 (DIR) Post #9zDcQPXDY0gbRrK3UW by tuxcrafting@fedi.absturztau.be
       2020-09-16T14:12:26.637387Z
       
       0 likes, 1 repeats
       
       @deavmi yes lol
       
 (DIR) Post #9zDdjsrkopKTsEmHFw by deavmi@mstdn.io
       2020-09-16T14:27:06Z
       
       1 likes, 0 repeats
       
       @tuxcrafting my fuck 🤣
       
 (DIR) Post #9zDvDmSUu7NXuTo0rg by wizzwizz4@fosstodon.org
       2020-09-16T17:43:04Z
       
       0 likes, 0 repeats
       
       @tuxcrafting C++ is not okay for kernel dev. You'll probably have fewer issues than Ada, but similar issues to Ada. C++ is worse than C by most pain metrics.I know you'll hate me for it, but I would honestly recommend Rust (like @zaun). I thought D would work when you tried it, I thought Ada would work when you tried it, but I could write my own kernel in Rust without internet access or processor manuals (the Rust documentation also being rudimentary CPU documentation).And… it'll compile.
       
 (DIR) Post #9zDvHGb9IoduFrVyL2 by wizzwizz4@fosstodon.org
       2020-09-16T17:43:30Z
       
       0 likes, 0 repeats
       
       @tuxcrafting C++ is not okay for kernel dev. You'll probably have fewer issues than Ada, but similar issues to Ada. C++ is worse than C by most pain metrics.I know you'll hate me for it, but I would honestly recommend Rust (like @zaun). I thought D would work when you tried it, I thought Ada would work when you tried it, but I could write my own kernel in Rust without internet access or processor manuals (the Rust documentation also being rudimentary CPU documentation).And… it'll compile.
       
 (DIR) Post #9zDvLjFQj2rGGiU2RU by tuxcrafting@fedi.absturztau.be
       2020-09-16T17:44:31.540114Z
       
       0 likes, 0 repeats
       
       @wizzwizz4 @zaun well, C++ is similar to C in terms of running nicely without a runtime (unlike D and Ada), and it has a ton of goodies like namespaces, templates, actual type safety, etc that make it actually usable (unlike C)
       
 (DIR) Post #9zDvVzNZbXGvC9BWQy by wizzwizz4@fosstodon.org
       2020-09-16T17:46:14Z
       
       0 likes, 0 repeats
       
       @tuxcrafting @zaun But on the other hand, a pointer to a bool vector takes up more than a size_t.C++ is okay okay okay okay until there's a random thing straight out of PHP just randomly popping up.=0
       
 (DIR) Post #9zDvbyD6rYLNJ88u8G by tuxcrafting@fedi.absturztau.be
       2020-09-16T17:47:27.673952Z
       
       0 likes, 0 repeats
       
       @wizzwizz4 @zaun vectors != arrays (they have dynamic bounds), so no problem thereand honestly, recent C++ is pretty well designed
       
 (DIR) Post #9zDvmjuQNKJM8cXPkW by kura@fedi.z0ne.moe
       2020-09-16T17:49:23.368746Z
       
       1 likes, 0 repeats
       
       @tuxcrafting @wizzwizz4 @zaun modern c++ is really nice IMO.the only thing why I still don't like coding in it is the header and code file separation (or rather the need for header guards) , even though it makes sense (aside from the guards)
       
 (DIR) Post #9zDvpdWCalt9Bcabz6 by tuxcrafting@fedi.absturztau.be
       2020-09-16T17:49:55.506686Z
       
       0 likes, 0 repeats
       
       @kura @wizzwizz4 @zaun >header guards>not using pragma once>in $current_year
       
 (DIR) Post #9zDvplUiw9SXvLxXn6 by chuculate@anime.website
       2020-09-16T17:49:56.770677Z
       
       0 likes, 0 repeats
       
       @georgia Did you mean Linus Torvalds?@tuxcrafting @wizzwizz4 @zaun
       
 (DIR) Post #9zDvrd1JPorGDj5h3I by caskd@social.redxen.eu
       2020-09-16T17:50:16.560490Z
       
       1 likes, 0 repeats
       
       @tuxcrafting @kura @wizzwizz4 @zaun is pragma once even standard?
       
 (DIR) Post #9zDvsGV6cyrafQKXPE by wizzwizz4@fosstodon.org
       2020-09-16T17:50:22Z
       
       1 likes, 0 repeats
       
       @tuxcrafting @zaun But it's backwards-compatible with old C++ – and those "well designed" properties are inconsistent with old C++, leading to general weirdness when new-ish and old-ish features interact.Plus, C++ has Undefined Behaviour, meaning the compiler's allowed to randomly erase your overflow checks (though, to give it credit, it's a *lot* better than C in this regard).Do you have a small C++ compiler available? (I mean smaller than g++.) If so, then that beats most of my objections.
       
 (DIR) Post #9zDvsLdnW5mqbpR39E by kura@fedi.z0ne.moe
       2020-09-16T17:50:20.038816Z
       
       0 likes, 0 repeats
       
       @tuxcrafting @wizzwizz4 @zaunpragma once is a header guard as well.
       
 (DIR) Post #9zDvuGgOvBZpoMZJE8 by tuxcrafting@fedi.absturztau.be
       2020-09-16T17:50:45.941835Z
       
       0 likes, 0 repeats
       
       @caskd @kura @wizzwizz4 @zaun no, but there are exactly 0 extant C++ compilers that don't support it
       
 (DIR) Post #9zDw33kUNZg0IrfllQ by socjuswiz@spinster.xyz
       2020-09-16T17:52:21.308226Z
       
       0 likes, 0 repeats
       
       @georgia I think most dislike of C++ is based on over-complication and user-unfriendliness. The over-complication only gets worse throughout the years as the language literally piles feature on top of feature, though compilers have probably gotten better in the user-friendliness aspect.Rust is probably the way you want to go if you’re looking for something more expressive than C without sacrificing low-level control.@tuxcrafting @wizzwizz4 @zaun