system76-scheduler
starlark-rust
system76-scheduler | starlark-rust | |
---|---|---|
24 | 9 | |
486 | 623 | |
2.7% | 2.7% | |
3.0 | 9.8 | |
about 1 month ago | 14 days ago | |
Rust | Rust | |
Mozilla Public License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
system76-scheduler
-
Three gaming-focused Linux operating systems beat Windows 11 in gaming benchmark
> I don't know what Popos does to make it more "gaming focused" than vanilla Ubuntu.
They have a few changes, chief among them being the PopOS scheduler which I find to be quite effective: https://github.com/pop-os/system76-scheduler
The desktop itself is a weird custom-baked x11/GNOME customization you won't really get on Ubuntu. Not many distributions can claim the title of being truly "unique", but PopOS does deserve the title in my opinion. Even still it wouldn't be my choice for gaming, but I'll defend it's identity as something more than another GNOME/Debian spin.
-
Ask HN: New ThinkPad battery life on Ubuntu
Power management kinda doesn't work on Linux. There are very minimal rules once you disconnect from AC, and most of the time you'll switch into high-usage mode when it isn't needed. There's not a clean way to fix this, to my knowledge; the Linux scheduler stack is just kinda based around desktop and server hardware.
That being said, I also use Linux on my Thinkpad anyways. There are decent enough workarounds that I can keep my system up for 5-6 hours when away from AC:
- Switching into battery-saver mode will keep clock speeds down, which generally reduces power usage (as long as you aren't slamming the cores)
- tlp can help if your hardware has power-draining characteristics (I don't use it, my defaults are good enough)
- Using an auto-nicer can keep your system feeling responsive when in power saving mode: https://github.com/pop-os/system76-scheduler
So... caveat emptor, YMMV. Linux is far from the most efficient OS away from the wall, but with a little bit of configuration I feel like my system does indeed work as a "normal laptop".
- What config format do you prefer?
-
System76-scheduler 2.0: getting horrible underrunning from seemingly within my interface itself
ran rtcqs as a replacement for realtimeconfigquickscan at the suggestion of Brock from System 76 (thank you Brock ily). As it kept suggesting that I build a custom kernel and I would rather switch back to Windows than do that, I checked github issues on system76-scheduler, found this: https://github.com/pop-os/system76-scheduler/issues/99. Seems to fit with everything I know about the situation.
- System76-Scheduler 2.0
-
The Rust Implementation Of GNU Coreutils Is Becoming Remarkably Robust
system76-scheduler
-
Nvidia-driver-515-open install error
For starters, you will get better performance using the stock (System76 kernel) but that's another conversation. To solve your specific issue you will need to install the missing dependencies with this command
-
How to avoid GNOME getting laggy when system is under heavy CPU use?
And installing and configuring system76-scheduler, it works by allocating the most resources to the window you have in focus, so say a full screen game or a browser you have open. Keep in mind that it only works with the POP-Shell extension and if you don't use it, you will need this one instead.
- Windows 10 is faster out-of-the-box than Ubuntu and Manjaro
-
Fedora was added to the geekbench5 benchmark from the previous post due to popular demand. (On metal, Ryzen7 4700U,16GB Dual CH). All are fresh installations. Fedora did 15% lower in the Multi-Core HTML5 test dropping its total score. There is a 5% difference between the top and bottom Multi-Core.
If you start a game with game mode, then system76-scheduler lowers the game priority and makes your FPS lower: https://github.com/pop-os/system76-scheduler/issues/57
starlark-rust
-
What config format do you prefer?
I haven't seen anyone mention starlark yet. It's something I want to play with as a config language.
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
Aside from these, if you want some inspiration for a production-grade language built in Rust, you might want to go through the source code of Starlark and Gluon.
-
Launch HN: Moonrepo (YC W23) – Open-source build system
There is also a Rust implementation of Starlark as a starting point https://github.com/facebookexperimental/starlark-rust
To add to everyone else, please don't use YAML. Starlark is great _precisely_ because it is a readable, well known (nearly Python) language that is limited at the same time (no unbounded for loops, no way to do non-deterministic things like get the current time or `random()`).
-
Benchmarking Starlark against other embedded scripting languages
This is a follow-up to Benchmarking mlua/rlua/rhai - Rust embedded scripting languages from 4mo ago; I just added the new Starlark implementation from Meta to the benchmark posted by @aleksru.
-
The Perfect Configuration Format? Try TypeScript
The Rust implementation has it as an experimental extension (https://github.com/facebookexperimental/starlark-rust/blob/m...)
-
Making an interpreter for variable length byte-code, any way to use enums for this and not just a big u8?
u/ndmitchell has been working on a Starlark interpreter. He wrote up a blog post with some thoughts about different interpreter styles. He found that in his case using fixed sized instructions was about the same as byte-encoded ones, but compiling the AST to closures was also about the same performance as well, and doesn't need an AST->bytecode compiler.
-
Can i use rust to write my compiler??
As mentioned in other comments, type system features like algebraic data types (that Rust has) are really helpful. If you want a small-but-real example of a compiler in Rust (with an optimizer etc) then the starlark-rust compiler is good.
-
Zellij – A Terminal Workspace and Multiplexer Written in Rust
If your Rust program needs a more complicated configuration (conditionals, access to APIs and so on), also look at Facebook's Starlark parser and tooling[1]. Starlark is a subset of Python used by Bazel, Buck and a few other projects.
[1]: https://github.com/facebookexperimental/starlark-rust
-
New version of Rust Starlark, an implementation of a deterministic Python-like language
The Facebook post gives a nice overview. It also links out to the home page for the project at https://github.com/facebookexperimental/starlark-rust/, which has an introduction and links to what Starlark is, the crates.io link, the docs.rs link etc.
What are some alternatives?
zen-kernel - Zen Patched Kernel Sources
cue - CUE has moved to https://github.com/cue-lang/cue
Ananicy Cpp - A full, event-based rewrite of Ananicy made in C++ for better performance.
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
shell - Pop!_OS Shell
.tmux - 🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
intel-undervolt - Intel CPU undervolting and throttling configuration tool
wasmtime - A fast and secure runtime for WebAssembly
upower-dbus - Migrated to https://github.com/pop-os/dbus-settings-bindings
zellij - A terminal workspace with batteries included
lagmeter
Tmuxinator - Manage complex tmux sessions easily