Live data from Hacker News

Introduction to SerenityOS Programming

awesomekling.github.io

11–20 of 44 posts

Re: Introduction to SerenityOS Programming

#12
post #2

Hello friends! Author here. Happy to answer any questions about SerenityOS and its programming environment. :)

The LibGUI you've created looks to be a really nice and capable widget toolkit :) Any plans to port it to other platforms (eg OpenGL so it becomes very cross platform) so it can be used outside Serenity?

Hi JoeG2040! I don't really make plans for this project, I just follow my nose and work on what's the most interesting at the moment.

That said, jcs@ from the OpenBSD project has been working on a port of the entire Serenity desktop environment to OpenBSD: https://twitter.com/jcs/status/1224205573656322048

I usually make a little round-up video at the end of each month and I invited jcs to show off his port in my last video[1] a couple days ago.

It would definitely be feasible to port it to other platforms. The original prototype for the Serenity GUI was built inside an SDL framebuffer on Linux, and it would be kind of fun to bring it back there someday. :)

[1] https://www.youtube.com/watch?v=m5JD5JCe1wY (jcs's segment starts at ~15:30)

Re: Introduction to SerenityOS Programming

#14
post #2

Hello friends! Author here. Happy to answer any questions about SerenityOS and its programming environment. :)

This is amazing! I love it! I have a couple of random questions. What video mode does the GUI environment run in? Does it boot directly into the GUI or can it run headless as well? Do you have a more detailed overview of the different parts of the OS and its current capabilities?

Re: Introduction to SerenityOS Programming

#15
post #2

Hello friends! Author here. Happy to answer any questions about SerenityOS and its programming environment. :)

After a few pull requests I can definitely say that LibGUI is the most fun c++ GUI framework I have ever seen (not that it's my usual wheelhouse.) After a few minutes of looking around and reading the source, LibGUI quickly became something I look forward to working with every time I do. Thank you for all of your work on Serenity!

Re: Introduction to SerenityOS Programming

#16
post #2

Hello friends! Author here. Happy to answer any questions about SerenityOS and its programming environment. :)

This is amazing! I love it! I have a couple of random questions. What video mode does the GUI environment run in? Does it boot directly into the GUI or can it run headless as well? Do you have a more detailed overview of the different parts of the OS and its current capabilities?

Disclaimer: I am not the author, just spent a little time with the system. You can totally boot without the GUI by passing the "text_debug" option to the kernel command line. If you have Serenity built on your system you can try this out really easily by running: SERENITY_KERNEL_CMDLINE=text_debug ./run in the Kernel/ directory.

Re: Introduction to SerenityOS Programming

#17
post #2

Hello friends! Author here. Happy to answer any questions about SerenityOS and its programming environment. :)

Have you considered adopting GRSec's kernel patches to make it a serious security force to be reckoned with?

Also do you have a serious key-management plan in place to signing and distributing your builds and packages?

Re: Introduction to SerenityOS Programming

#19
post #12

Earlier quoted context omitted.

The LibGUI you've created looks to be a really nice and capable widget toolkit :) Any plans to port it to other platforms (eg OpenGL so it becomes very cross platform) so it can be used outside Serenity?

Hi JoeG2040! I don't really make plans for this project, I just follow my nose and work on what's the most interesting at the moment. That said, jcs@ from the OpenBSD project has been working on a port of the entire Serenity desktop environment to OpenBSD: https://twitter.com/jcs/status/1224205573656322048 I usually make a little round-up video at the end of each month and I invited jcs to show off his port in my las…

> That said, jcs@ from the OpenBSD project has been working on a port of the entire Serenity desktop environment to OpenBSD: https://twitter.com/jcs/status/1224205573656322048

Wow. That looks pretty awesome. Your gui aesthetic is pretty 90s in the best way possible, and combined with OpenBSD underneath this looks like it has potential to be a seriously no nonsense system.

Re: Introduction to SerenityOS Programming

#20
post #17
post #2

Hello friends! Author here. Happy to answer any questions about SerenityOS and its programming environment. :)

Have you considered adopting GRSec's kernel patches to make it a serious security force to be reckoned with? Also do you have a serious key-management plan in place to signing and distributing your builds and packages?

Grsec is Linux. Serenity OS isn't.
Post reply on HN