What does your OS look like? (Screen Shots..)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Kamal123
Member
Member
Posts: 99
Joined: Fri Nov 01, 2019 1:17 am

Re: What does your OS look like? (Screen Shots..)

Post by Kamal123 »

Image

Now compositing window manager in Xeneva renders temporary windows called XEQuickWindow, which are helpful for rendering Popup menus, tooltips, notifications..etc. Not completed yet, but here's how it looks.

GitHub: https://github.com/manaskamal/aurora-xeneva
Thanks,
Manas Kamal Choudhury
User avatar
AndrewAPrice
Member
Member
Posts: 2300
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: What does your OS look like? (Screen Shots..)

Post by AndrewAPrice »

Wow, nice work Kamal123. Pop-ups are something I'll have to deal with one day.
My OS is Perception.
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by max »

I'm optimizing stuff :mrgreen:
Attachments
windowserver.jpg
User avatar
frednora
Posts: 18
Joined: Fri Sep 01, 2017 6:53 pm
Location: Londrina - Paraná | Brazil
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by frednora »

Gramado OS
Attachments
Terminal
Terminal
gramado-terminal.png (3.77 KiB) Viewed 13637 times
devc1
Member
Member
Posts: 439
Joined: Fri Feb 11, 2022 4:55 am
Location: behind the keyboard

Re: What does your OS look like? (Screen Shots..)

Post by devc1 »

Nice work guys, I am literally stuck with ACPI, (X/E)HCI, and other drivers, stuck optimizing my kernel. Stuck wanting to make a VMSVGA 3D Driver (to know how to make the Graphics Library Driver). Then needs to make a Graphics library, then we will start our fancy GUI and Windows Manager. __** I am literally stuck forever hahaha. : )
User avatar
eekee
Member
Member
Posts: 891
Joined: Mon May 22, 2017 5:56 am
Location: Kerbin
Discord: eekee
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by eekee »

You're stuck? I still have "write a compiler" on my to-do list! :mrgreen: but only a very simple compiler. I got a little bit stuck on partition tables until I realised nothing actually has a problem with the mess Plan 9's fdisk makes of the c/h/s numbers.
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
Kevin
Member
Member
Posts: 1071
Joined: Sun Feb 01, 2009 6:11 am
Location: Germany
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by Kevin »

max wrote:I'm optimizing stuff :mrgreen:
I'm not sure if there is any measure of optimisation with abstract art!
Developer of tyndur - community OS of Lowlevel (German)
nexos
Member
Member
Posts: 1081
Joined: Tue Feb 18, 2020 3:29 pm
Libera.chat IRC: nexos

Re: What does your OS look like? (Screen Shots..)

Post by nexos »

devc1 wrote:stuck optimizing my kernel
Premature optimization always make you stuck.

I'm not talking about having a good basic algorithm from the start (e.g., you should always choose a hash table over a linked list for lists that require frequent lookups), that's always important. I mean trying to squeeze every possible nanosecond out of your code. It's not necessary until it is.

How do you know if it is necessary? Benchmark. Write your code, benchmark until you observe a bottleneck. Once you find a bottleneck, optimize it away.

Premature optimization makes you lose tons of time that could be spent doing important stuff. Remember, if there is no bottleneck, optimization is doing absolutely nothing from the user's standpoint.
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg
vvaltchev
Member
Member
Posts: 274
Joined: Fri May 11, 2018 6:51 am

Re: What does your OS look like? (Screen Shots..)

Post by vvaltchev »

nexos wrote:I'm not talking about having a good basic algorithm from the start (e.g., you should always choose a hash table over a linked list for lists that require frequent lookups), that's always important. I mean trying to squeeze every possible nanosecond out of your code. It's not necessary until it is.
Agree 100% on this.
nexos wrote:How do you know if it is necessary? Benchmark. Write your code, benchmark until you observe a bottleneck. Once you find a bottleneck, optimize it away.

Premature optimization makes you lose tons of time that could be spent doing important stuff. Remember, if there is no bottleneck, optimization is doing absolutely nothing from the user's standpoint.
Do not agree here, at all. For sure that's the wrong thread for this discussion but I just wanted to point out that, by following that logic, a lot of software sucks. A piece of code could be 10x slower than necessary and be left not even roughly "optimized" just because it's not in the "hot-path". What happens with this approach is that you reach millions line of code that is slow and laggish, but it's not clear why. Optimizing the current most expensive function in the hot-path leads only to marginal improvements and making major optimizations becomes insanely complicated. That's because the whole code has been written not caring about performance at all and has hidden scalability issues.

I'd say, write code with performance in mind ALL THE TIME, but don't micro-optimize unless it's necessary. Squeezing every nanosecond when that's hard to do so, is pointless in many places. But, just relaxing and accepting "whatever works" as long as it's not a bootleneck leads to a weird phenomenon called "death by a thousand cuts".
Tilck, a Tiny Linux-Compatible Kernel: https://github.com/vvaltchev/tilck
User avatar
eekee
Member
Member
Posts: 891
Joined: Mon May 22, 2017 5:56 am
Location: Kerbin
Discord: eekee
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by eekee »

Interesting! It reminds me that my former friends who were opposed to "unnecessary" optimization were also opposed to very large codebases.
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
nexos
Member
Member
Posts: 1081
Joined: Tue Feb 18, 2020 3:29 pm
Libera.chat IRC: nexos

Re: What does your OS look like? (Screen Shots..)

Post by nexos »

vvaltchev wrote:But, just relaxing and accepting "whatever works" as long as it's not a bootleneck leads to a weird phenomenon called "death by a thousand cuts".
Developers should write code with performance in mind always. I just think that bending over backwards to gain a few nanoseconds is a waste time, unless it does result in a bottleneck.
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg
devc1
Member
Member
Posts: 439
Joined: Fri Feb 11, 2022 4:55 am
Location: behind the keyboard

Re: What does your OS look like? (Screen Shots..)

Post by devc1 »

Of course I am not optimizing the GetCurrentProcess() function but I would want to optimize the Schedule(), malloc() and free() functions (because in the past, too much allocations will slow down the MMGR). As you know, this is not the thread for this. But whatever I had never tried to understand what is this hashmap. I just create linked lists and make a bitmap, use the "bsf" instruction to iterrate and allocate, then go to the next list.
vvaltchev
Member
Member
Posts: 274
Joined: Fri May 11, 2018 6:51 am

Re: What does your OS look like? (Screen Shots..)

Post by vvaltchev »

nexos wrote:Developers should write code with performance in mind always. I just think that bending over backwards to gain a few nanoseconds is a waste time, unless it does result in a bottleneck.
I totally agree. I'm against "bending over backwards" for a few nanoseconds: that needs a pretty solid justification. I'm happy that you like the basic premise of "write code with performance in mind" :-) Note that most developers (whom I talked with in my life) don't agree with that. It's a widespread trend today to just blindly forget about performance and quality until it's too late and the performance is unacceptable. Then, people start to do benchmarks and look for "low-hanging fruits" to optimize. That's way too late.
Tilck, a Tiny Linux-Compatible Kernel: https://github.com/vvaltchev/tilck
devc1
Member
Member
Posts: 439
Joined: Fri Feb 11, 2022 4:55 am
Location: behind the keyboard

Re: What does your OS look like? (Screen Shots..)

Post by devc1 »

Yeah, that's what I am trying to justify. I don't know why people tend to put all the technologies and high performance in trash. I don't (...) know why Windows, languages such as python, and companies are making all these huge and vast performance losses.

Just try to do that with a chess engine and it will never reach a depth of 8.

You have a (...) multi-core 4000000000 GHz CPU powered with the latest SIMD technologies and you still can't make fast applications.
devc1
Member
Member
Posts: 439
Joined: Fri Feb 11, 2022 4:55 am
Location: behind the keyboard

Re: What does your OS look like? (Screen Shots..)

Post by devc1 »

devc1 wrote:Yeah, that's what I am trying to justify. I don't know why people tend to put all the technologies and high performance in trash. I don't (...) know why Windows, languages such as python, and companies are making all these huge and vast performance losses.

Just try to do that with a chess engine and it will never reach a depth of 8.

You have a (...) multi-core 4000000000 HZ CPU powered with the latest SIMD technologies and you still can't make fast applications.
Post Reply