one thing I like about Rust privacy is the module-scoping - c.f., class-scoping in C++ or Java
I'm not sure whether pseudo-modules encourage or discourage that
plietar_ has quit
I feel like it lets you make bigger modules (because you can use many files) and thus module-scoped privacy offers less encapsulation
and that encourages you to put functions in impls rather than use free functions, etc.
will think more, hopefully I'll have some more coherent thoughts tomorrow.
ubsan joined the channel
WindowsBunny1 is now known as
ubsandroid joined the channel
ubsan is now known as
plietar_ joined the channel
plietar_ has quit
bronson joined the channel
jseyfried has quit
bronson has quit
woboats has quit
plietar_ joined the channel
plietar_ has quit
Zoxc
rjung: Do you think it would be possible for the intptrcast model to assign concrete and logical addresses on pointer creation, but not actually allowing non-logical pointers to access it until after casting it to an int?
cp joined the channel
Hm.. just making pointer comparisons with concrete pointers leak the other pointer seems reasonable
Ralith has quit
riot_scott has quit
edef[m] has quit
atrociously-M has quit
troyvoy88-M has quit
frewsxcv has quit
Clar-M has quit
It does seem that that would kill off too many optimizations
plietar_ joined the channel
Clar-M joined the channel
plietar_ has quit
Clar-M has quit
rjung: I like the idea of encoding pointer to integer as a function in LLVM. That might enable us to measure the impact of intptrcast on optimizations
Diggsey joined the channel
monad has quit
bronson joined the channel
bronson has quit
plietar_ joined the channel
plietar_ has quit
rjung: The argmemonly attribute on such a function declaration seems like a good fit
skimming this it seems very similar to what Rust has
edef[m] joined the channel
riot_scott joined the channel
Clar-M joined the channel
atrociously-M joined the channel
troyvoy88-M joined the channel
eternaleye joined the channel
frewsxcv joined the channel
Ralith joined the channel
plietar_ joined the channel
plietar_ has quit
simulacrum has quit
orium joined the channel
acrichto
aturon: the modules proposal overall looks fantastic!
aturon: the issues presented at the beginning make a lot of sense, and while I may have some comments about the specifics it overall seems like a great idea
arielby joined the channel
lukaramu joined the channel
bronson joined the channel
bronson has quit
WindowsBunny joined the channel
tommy_ip joined the channel
blank_name joined the channel
tommy_ip has quit
plietar_ joined the channel
plietar_ has quit
WindowsBunny has quit
porky11 has quit
porky11 joined the channel
bronson joined the channel
porky11 has quit
porky11 joined the channel
porky11 has quit
warmwaffles joined the channel
simulacrum joined the channel
Muhannad has quit
Muhannad joined the channel
aturon
acrichto: woo! that's great to hear. if you have a chance and want to write a slightly more detailed comment -- i'd in particular like to hear whether you think this would smooth ergonomics and readability for you personally -- that'd be helpful
acrichto
aturon: ok sure yeah, I'll write up a comment later