Show newer

writing a comune IR interpreter for compile-time code execution, as a treat

i might revisit the `init&` concept for placement-new, but implementing proper language-level constructors and destructors adds a fuckton of complexity in its own right and i am Not here for it

Show thread

update: went to prototype this in the compiler and Wow! I Hate The Implications This Has For Every Part Of The Language. no thank you

Show thread

might just special-case the `mut& self` inside constructor bodies to not assume initialization tbh

Show thread

i guess i could special-case it??? maybe i could treat `self` as local variable inside the constructor body and just elide the move??? feels like the cleanest solution is to introduce some sort of `init&` for initialization but aarurhggghgh a whole new qualifier for exactly one (1) use case????

Show thread

the language does have facilities for referencing potentially-uninitialized data, namely `unsafe mut&`, but that's meant to be a C++ interop feature more than anything. kinda hate the idea of using that for constructors tbh!

Show thread

comune's Definite Initialization impl is robust enough to handle most of the rough edges around C++-style constructors, at least

my main concern is that having the constructor work in-place implies having a `mut&` to uninitialized data, which directly goes against the safety guarantees of `&` and `mut&`

Show thread

i don't plan on adding copy and move constructors to the equation, but considering some of the planned features for comune, as well as the current state of the trait system implementation, i think having proper constructors and destructors might be a good call here

Show thread

thinking about it a bit more, and honestly i might turn destructors (and constructors) into Special Type Stuff like C++, rather than having a Drop trait like Rust

oh god.

i've just realized what my final task is for comune's Drop implementation.

i have to get the trait solver working.

This joke is from 1974 (in *Computer Lib*). It only took 50 years to build.

major RE4 spoilers 

i realize this is a spoiler for a nearly 20 year old game, but going into the remake blind? god.

Show thread

major RE4 spoilers 

"People can change, right?" SOBBING AND BAWLING

Show thread

major RE4 spoilers 

THEY KILLED MY BEAUTIFUL WONDERFUL BABY BOY

This is inescapable on French insta so I'm posting it here for all to enjoy

finally taking on dynamic drops in comune today. i need beautiful women to comfort me as i face this beast please help

i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs i hate GEPs

Show older
SHRIKE CLUB

ONLY CREATE ACCOUNT IF YOU PERSONALLY KNOW AN ADMINISTRATOR, AND IDENTIFY YOURSELF IN YOUR APPLICATION. YOU DO NOT NEED A SHRIKE CLUB ACCOUNT TO FOLLOW SHRIKE CLUB USERS. A PERSONAL FEDERATED SOCIAL MEDIA INSTANCE FOR SMALL CARNIVOROUS BIRDS BY SMALL CARNIVOROUS BIRDS