Title and link
SerenityOS Office Hours / Q&A (2023-02-24)
50 questions
Export to...
Introduction and broadcast check
how about implement qoi image format in Jakt?
hey there, chilling while writing a renderer for my psx emulator !!
in jakt, does unsafe have a practical purpose, in terms of code-gen (now, or in the future?), or is it just like a mark of "here be dragons", a signpost for debugging?
Now when working in an office and having office hours the name of the stream is very suitable but can't really join as often because being in the office working... 😭
I just contributed to the repo for the first time! Are there any extensions you use for CLion that you find very helpful?
I noticed in your last Jakt video that you use "fn" but I remember early on you were using "function" and really wanted expressive keywords to be used, did something change your opinion?
Andreas should move to India so his office hours would be when I'm home πŸ˜†
do you deal with impostor syndrome? if so, how? it has been a while since I worked on Jakt and I'm tripping on what used to be trivial for me
whk! so... which mug is up at bat today?
What do you recommend to study for developing a programming language to beginners?
my favorite stores as a kid were office supply stores and stationary stores, i loved all the stamps and "business" carbon forms and stuff
WHF! Listening while working on something that I won't describe because I might give up on it. πŸ˜…
I ask, because the qoi image format is much easy than png, I think it will be a good video to watch .
@Sam Atkins wanna tell us about it during the next office hours? :hyperyakkie: Andreas also talks about the next community showcase video
What's your history with car talk videos? Did they start during commutes and were you driving before/during/after recording one?
Thank you for all the excellent videos! I'm also learning about writing languages. How do you resolve identifiers in nested scopes in Jakt?
not sure how you can split Scope to multiple classes, a scope is a scope πŸ€”
Have you ever worked at a startup?
You could just green screen the car. XD
I know the feeling, driving to random places with my partner and just talking about random things.
Better than verbose expressive keywords is: very few keywords
Example where two distinct keywords probably wouldn't have hurt: static and static
How does TypeId/ModuleId/etc work in Jakt?
How does the SerenityOS kernel do graphics? Does it draw to a frame buffer?
Rust people would tell you that even a sophisticated enough reference lifetime system would prevent you from doing what this FooId thingy allows :P
Rust is the programming equivalent of a vegan
rust has some nice features but it throws you off in every way at the beginning
I feel like a language should be simple to write and just get your ideas to a MVP. let the language handle the fiddly parts and you can come back and tweak them as needed.
I think rust is good for the programming language ecosystem and the evolution of programming. I imagine programming languages 50 years from now will differently from languages and new ideas help pave
i really like that jakt looks very free (in the sense that you can probably hack together a program in jakt easily without hassle) while being low level and having really nice features (eg safety)
it looks like Jakt solves and actual problem :)
the trade off between functionality and simplicity is a big part. having things be too simple you can lose the ability to customise and expand.
manually pulling out bytes (with helpers) seems nicer than casting memory and then swapping endianness in place even in C imho
since match works on bool expressions, have you thought of maybe removing if entirely? and then an explicit pass/continue if don't need an else to help identify logic bugs?
Are there any features in other languages that you would like to implement in Jakt?
hi:hand-pink-waving:, how many rams running SerenityOS need? and minimum cpu, i cant run that, my computer stop working and i shoud restart it.:face-purple-crying:
but having some read_packed_struct with language support would be nice
What is your opinion on AI generating code? Something like training one with all open source code and then asking for new programs.
hi, I'm late but have one question, how far is jakt developed to start working on actual compilation, not transpiling to c++?
Just a little aside. Ever since GDPR walls came about, I've been conditioned to reject tracking cookies. So when I see you instead clicking accept in your videos, it throws my head into a spinπŸ˜…
Sound like rust has a similar issue to the old JavaScript callbackhell where everything just gets more indented
yeah, that was me πŸ™‚ (checked/unchecked). I've needed this in C# before
I don't know if anyone mentioned this yet, but in zig you can add with wraparound with +%
i played with ChatGPT for a while, and it seems hard to make it do so something clever… but i'm hopeful in AI too
i feel like almost all of those indentations could be solved by inverting the condition in the if and returning early and then leaving the actual code in the normal indent level
the public release was nerf'ed - and now someone applied "reddit filter" to it .. :)
I heard many rust people not happy with rust choice of "unsafe" keyword, and jakt have same keyword, what you think about that? is that real problem and is there better word for that concept
will jakt support things like unsafe *a = 9 or cpp "*b += 9;" in order to avoid creating more indentation for 1 statement?
Concluding remarks