« first day (524 days earlier)      last day (122 days later) » 

00:20
@Seggan is the runtime itself an object I can delete at runtime
better yet, is the editor for the code you're writing an object that i can delete (and therefore no longer be able to write code, even to restore the editor, essentially softlocking myself)
@blueberry true...!
smalltalk is really cool and I wish there were more systems like it
^
@blueberry Runtime.getRuntime() exists
00:49
return is a function in Haskell in exactly the sense that it isn't a keyword and so you can define a function with that name, and they have historically misnamed the pure function as return
@Seggan ....can i delete it though
in a way where it never comes back, and I can never run any programs with it ever again
@Ginger I recommend about 50% of today's LIVE talks to you then
I like Smalltalk-the-operating system a lot more than Smalltalk-the-language
agreed :p
Which isn't its fault, we literally didn't know how to make languages that weren't bad yet, and the closed world sucks in a universe where it didn't win, but it's just really neat
well i mean
ML didn't suck, and it's from that era
but it's a special case
01:02
I really recommend the Visualizing and Explaining Rust's Ownership Model keynote from IWACO today to many people here, it's currently about -3:35:00 in the livestream
And the opening keynote from LIVE in this stream to anyone who is inspired by the Smalltalk model/environment
@MichaelHomer Oh, thank you, I was interested in watching this one, I didn't know it was already available.
You can scrub back in the livestreams at least at the moment, although they may shut off at some point
There will be cropped videos in a couple of weeks. The streams generally stay accessible for a while or indefinitely
If anyone here just happens to be particularly interested in Swift, the Data Race Safety for the Masses talk from later in IWACO is also good, I'm told, but I didn't see that one happen
01:49
I can't imagine who you could be referring to
 
14 hours later…
15:23
0
Q: What are some options for adding a sound equality operator (or avoiding it) in a type system with subtyping?

osa1I'm wondering how could pitfall #4 in this link be avoided without runtime type (or class ID etc.) checks: https://www.artima.com/articles/how-to-write-an-equality-method-in-java. From a language designer's point of view, the problem is the following: We want to add an equals (or operator ==) met...

15:41
@DannyuNDos Haskell's return has... very little in common with C-style languages' return
Like I can see the analogy when you're using it in do-notation
but it still doesn't do any control flow or anything like that
and for isn't even in the Prelude? I've never heard of it but looking it up it seems to just be flip traverse
while there's multiple different things that correspond to C-style langs' for loops--fmap, traverse, traverse_, mapM, mapM_, folds, ...
actually mapM_ is just a specialized traverse_ but the point remains
...and mapM is just a specialized traverse (though apparently sometimes more efficient)
Not sure how I forgot that--I guess the map in the name made me think something about functors even though it obviously would need a Foldable to actually order the actions
 
1 hour later…
16:57
if yall dont mind ima clear the stars from previous days' schedules so the starboard wont be cluttered
 
5 hours later…
22:08
0
Q: How are Existensials types different from Traits?

JonasI am investigating ways to add some form of abstract data types to a toy language. I was reading Graydon Hoares The Rust I Wanted Had No Future, in where he talks about Existensial types. I have not used a language with Existensials, but he seem to write about them as an alternative to Traits, as...


« first day (524 days earlier)      last day (122 days later) »