What does your OS look like? (Screen Shots..)
Re: What does your OS look like? (Screen Shots..)
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
- AndrewAPrice
- Member
- Posts: 2300
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Re: What does your OS look like? (Screen Shots..)
Wow, nice work Kamal123. Pop-ups are something I'll have to deal with one day.
My OS is Perception.
- max
- 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..)
I'm optimizing stuff
Re: What does your OS look like? (Screen Shots..)
Gramado OS
- Attachments
-
- Terminal
- gramado-terminal.png (3.77 KiB) Viewed 13643 times
Re: What does your OS look like? (Screen Shots..)
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. : )
Re: What does your OS look like? (Screen Shots..)
You're stuck? I still have "write a compiler" on my to-do list! 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
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
Re: What does your OS look like? (Screen Shots..)
I'm not sure if there is any measure of optimisation with abstract art!max wrote:I'm optimizing stuff
Re: What does your OS look like? (Screen Shots..)
Premature optimization always make you stuck.devc1 wrote:stuck optimizing my kernel
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.
Re: What does your OS look like? (Screen Shots..)
Agree 100% on this.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.
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.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.
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
Re: What does your OS look like? (Screen Shots..)
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
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
Re: What does your OS look like? (Screen Shots..)
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.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".
Re: What does your OS look like? (Screen Shots..)
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.
Re: What does your OS look like? (Screen Shots..)
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.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.
Tilck, a Tiny Linux-Compatible Kernel: https://github.com/vvaltchev/tilck
Re: What does your OS look like? (Screen Shots..)
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.
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.
Re: What does your OS look like? (Screen Shots..)
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.