modern-cpp-features
Servo
Our great sponsors
modern-cpp-features | Servo | |
---|---|---|
47 | 132 | |
18,768 | 25,973 | |
- | 1.7% | |
3.9 | 10.0 | |
6 months ago | about 12 hours ago | |
Python | Rust | |
MIT License | Mozilla Public 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.
modern-cpp-features
-
Ask HN: Catching Up on C++?
Just go through this https://github.com/AnthonyCalandra/modern-cpp-features and you should be fine.
If you also like thorough explanations and graphs, there's https://hackingcpp.com/ that could answer many questions you might have.
By the way, just in case, bookmark this online C++ reference https://eel.is/c++draft/ for diving in deep waters.
Good luck!
-
C++23: The Next C++ Standard
I'm a little 10 years out from writing C++ professionally and I found this cheat sheet[0] useful. Basically if you have an inkling of the concept you're looking for, just search on that cheat sheet to find the relevant new C++ thing. Specifically for me, we used Boost for smart pointers which are now part of the stdlib, and threads are now part of the stdlib as well.
- E-Book Kindle sau PDF (engleză) despre C++
-
What proportion of C++ used more often than others?
A more productive way to go about it would be to ask "What are the features in each version of C++ past C++11 that I should care about the most?" instead. In that case you could take a look at things like https://github.com/AnthonyCalandra/modern-cpp-features and https://github.com/mortennobel/cpp-cheatsheet, see what appeals to you, ignore what does not.
-
What's the best book to learn C++?
Looks like there's a version history here
-
Extended C++ education for advanced/seasoned developers
As someone suggested cppcon and c++ talks, also I would reccomend reading this: https://github.com/AnthonyCalandra/modern-cpp-features and all things in the papers section in this: https://en.cppreference.com/w/cpp/compiler_support
- Brushing up
-
What are some good books to learn more about the C++ ecosystem?
I've already done a bit of research which has led me to the The Definitive C++ Book Guide & List. From that, I've decided to go over The C++ Programming Language (4th Edition) to learn C++11 and then this GitHub repo to learn the remaining C++14/17/20 features.
-
Ask HN: Is C++ making a comeback? “modern C++” versus Golang/Rust/Zig/Nim?
clickable:
"Welcome back to C++ - Modern C++" https://learn.microsoft.com/en-us/cpp/cpp/welcome-back-to-cp...
"21 New Features of Modern C++ to Use in Your Project" http://www.vishalchovatiya.com/21-new-features-of-modern-cpp...
"What is modern C++"? https://www.reddit.com/r/cpp_questions/comments/tgs6ir/what_...
"C++ is the next C++" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p26...
"modern c++ features" https://github.com/AnthonyCalandra/modern-cpp-features
C++ 23 to introduce module support "https://www.infoworld.com/article/3662808/c-plus-plus-23-to-..."
"C++ 2023" https://en.wikipedia.org/wiki/C%2B%2B23
- Functie ca valoare intr-un map
Servo
-
CSS for Printing to Paper
> Is there any easy to use/hack HTML layouting engine where I could experiment with custom CSS attributes and bridge that gap? Would anything from Servo be suitable?
Servo could be used for this. You'd want to add support for parsing the CSS properties themselves to the style crate in https://github.com/servo/stylo and then the layout implementation to the layout2020 crate in https://github.com/servo/servo. You do effectively get a whole browser though.
I'm currently working on building a lighter weight / hackable layout engine based on a combination of https://github.com/servo/stylo (for css parsing and selector resolution), https://github.com/DioxusLabs/taffy (for box-level layout) and https://github.com/pop-os/cosmic-text (for flow/inline layout). I expect to have something decent in around 6 months
Neither of these setups currently have any support for pagination though.
-
The Ladybird Browser Project
Great to see some competition still alive in browser engine development. See also Servo (previously part of Mozilla) https://servo.org/ - that and Ladybird are still very underdeveloped compared to every day browsers.
It's a huge shame that there are no nightly builds of ladybird to try out but I assume that's because they just don't want the bug reports (if everything doesn't work it's pointless getting random bugs filed).
-
Mozilla's Abandoned Web Engine 'Servo' Project Is Getting a Well-Deserved Reboot
I haven't messed with it yet but from looking into it, this should absolutely work.
https://github.com/servo/servo/wiki/Building-on-ARM-desktop-...
-
An open-source browser engine written in Rust
don't know, there was a downtime in 2021 and 22 but since 2023, contributions look back to where it was before .. https://github.com/servo/servo/graphs/contributors
-
Modern Java/JVM Build Practices
The world has moved on though to opinionated tools, and Rust isn't even the furthest in that direction (That would be Go). The equivalent of those two lines in Cargo.toml would be this example of a basic configuration from the jacoco-maven-plugin: https://www.jacoco.org/jacoco/trunk/doc/examples/build/pom.x... - That's 40 lines in the section to do the "defaults".
Yes, you could add a load of config for files to include/exclude from coverage and so on, but the idea that that's a norm is way more common in Java projects than other languages. Like here's some example Cargo.toml files from complicated Rust projects:
Servo: https://github.com/servo/servo/blob/main/Cargo.toml
rust-gdext: https://github.com/godot-rust/gdext/blob/master/godot-core/C...
ripgrep: https://github.com/BurntSushi/ripgrep/blob/master/Cargo.toml
socketio: https://github.com/1c3t3a/rust-socketio/blob/main/socketio/C...
-
Top 10 Rusty Repositories for you to start your Open Source Journey
1. Servo
-
❓ Is Google flagging activity from Firefox and targeting uBlock?
It won't don't worry. There already are forks, for the worst case scenario. And Servo is on its way. Not yet ready, but it will be. Originally, from Mozilla kitchen.
-
Populating the page: how browsers work
To pain broad strokes, the layout phase (~= take the HTML, take the CSS, determine the position and size of boxes) is largely sequential in production browser engine today. Selector matching (~= what CSS applies to what element) is parallel in Firefox today, via the Stylo Rust crate originally developed in the research browser engine Servo. Servo can do parallel layout in some capacity (but doesn't implement everything), https://github.com/servo/servo/wiki/Servo-Layout-Engines-Rep... is an interesting and recent document on the matter.
Parallel layout is generally considered to be a complex engineering problem by domain experts.
https://hacks.mozilla.org/2017/08/inside-a-super-fast-css-en... is a really cool article that is related, that is a few years old but what it says is largely correct today.
-
Rusty revenant Servo returns to render once more
[Article author/submitter here]
I can only tell you that it is not what this is about, inasmuch as I was at the talk and there was not a single mention of Firefox Reality or Wolvic in the talk.
Wolvic might use Servo – but I think if it did they would mention it, right?
The talk didn't and the word "Wolvic" does not occur anywhere on https://servo.org
So I am guessing not, no.
Igalia has -- or rather is because it's a co-op -- about 100 developers. They are not all working on the same thing.
-
I'm fed up with it, so I'm writing a browser
Well, there's Servo [1], which I have high hopes for.
What are some alternatives?
vim-cpp-modern - Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23)
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
serenity - The Serenity Operating System 🐞
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
cppfront - A personal experimental C++ Syntax 2 -> Syntax 1 compiler
qtwebengine - Qt WebEngine
functools - Functional tools in Go 1.18 using newly introduced generics
xi-editor - A modern editor with a backend written in Rust.
cpp20_in_TTs - C++20 features described in Before/After tables ("Tony Tables")
xsv - A fast CSV command line toolkit written in Rust.
OOP-in-C - Simple and efficient implementation of OOP in C suitable for real-time embedded systems.
Fractalide - Reusable Reproducible Composable Software