boost
openpilot
Our great sponsors
boost | openpilot | |
---|---|---|
17 | 839 | |
1 | 47,461 | |
- | 1.6% | |
10.0 | 10.0 | |
over 13 years ago | 3 days ago | |
C++ | Python | |
Boost Software License 1.0 | MIT License |
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.
boost
- Inside boost::unordered_flat_map
-
coost v3.0.0 released - A tiny boost library in C++11
coost is a cross-platform C++ basic library with both performance and ease of use. It is like boost, but much smaller, the static library built on linux and mac is only about 1MB in size. Although small, it provides enough powerful features:
-
Ask HN: Is ease in getting started the key for Python's success?
Not so much ease, as flexibility.
In the end, the thing that matters the most for software is being able to get logic into code as efficiently as possible. This includes being able to write concise code, being able to execute it and see results, debug it efficiently, use libraries easily, and deploy it to production. Python has all of this.
The rest of the stuff, like strong typing, memory safety, e.t.c are at best academic. The supposed advantages of those just don't hold up once you start to look into the real world. Linux, which runs on most devices that support an os hardware wise, is written purely in C. Python is used as a backend for very big projects like Youtube, Instagram, Spotify, e.t.c. Its also used to run Openpilot (https://github.com/commaai/openpilot), which has performance on par with Teslas autopilot.
Meanwhile in Java world, with strict typing, you have egregious vulnerabilities like log4shell, amongst others (https://java-0day.com/).
Language evolution is also a thing to look at with this stuff. The more "strict" you try to make a language, the worse its going to become as people are necessarily going to find hacks around it. With java, type safety strict features like having getters and setters get abstracted away behind an annotation processor that hacks the AST (Lombok), and thats not only considered ok, but is encouraged to be used. With C++, template metaprogramming got extremely out of hand with https://www.boost.org/, where the error messages for one thing used to be pages long. Rust manage to sneak this under the radar with the unsafe clause, which is going to see standard use in many codebases, thus negating any of its advantages.
In the end, good code comes from good developers, full stop. Every codebase will necessarily have tests for production deployment, and anything that language features don't catch during compilation or static checking can be checked with testing if you have developers that understand what they are doing and can write appropriate testing frameworks.
And based on that, its pretty attractive to use Python especially when you consider developer time. And the flexibility means you can write your code in different forms to suit your use case, where it be OOP with MyPy type checking, functional, imperative, or super complex if you want.
-
Compile-Time Hash in Plain C (Not Only C++) is Now Possible!
For those who didn't know what is Boost, it's a C++ library that helps to prevent re-inventing the wheel while trying to program something quite complex as example looping only with macro, Boost Preprocessor. Fortunately, Boost Preprocessor Repeat also works with plain C, not only C++. So, my OrangePi board can calculate hash at compile-time. Unfortunately, my SIX Hash algorithm requires sizeof(input) and Boost... won't... work... with it. Hours of workarounds, no luck.
-
How do I connect a REST API with C++?
If you have the ability to use third-party libraries (though if you can't this project is going to be a nightmare, lol...) I would recommend using the Beast library from the Boost collection of libraries. It's a little bit more verbose than some options, but not that much more, and it's better maintained. REST webservices are built on top of the HTTP framework, so it's just a matter of sending a HTTP GET request to a server (or POST/UPDATE/DELETE, depending on how exactly the api on the other end is implemented) and reading the response you get back. This is a very basic sample of a client sending a GET request to a server. If you need to change this to do a POST (or some other kind of request), there's only two real changes that need to be made:
-
Can anyone explain the differences of Conda vs Pip?
The person you replied to used slightly confusing terminology. Conda deals with non-python packages. As in if you wanted to install boost for C++.
-
Looking to download/use Boost
I'm not sure if its just me but I'm finding I can't access any of the download links on the Boost Website.
- Resources for experienced C programmer for C++20/17/13
-
How to write reflection for C++
rich standard library and Boost;
-
Where to read about modern C++ features which you should use?
Boost is also another ubiquitous library. Lots of code that doesn't make it into the standard kind of ends up here. Lots of code that gets into the standard starts here. Boost.Asio might end up being our network API in 23.
openpilot
-
Tinygrad: Hacked 4090 driver to enable P2P
Yes, but he spent several years in self-driving cars (https://comma.ai), which while interesting is also a space that a lot of players are in, so it's not the same as seeing him back to doing stuff that's a little more out there, especially as pertains to IP.
-
Imitation Learning
We have a product for sale: https://comma.ai
We raised $18.1M and have made $28M in lifetime revenue to date.
Where are you getting your narrative?
-
Driverless cars immune from traffic tickets in California under current laws
What about comma? https://comma.ai/ Seems like our old friend geohot built exactly what you want.
Positive HN discussion: https://news.ycombinator.com/item?id=36927971
-
No USS?
The issue was that the front camera on the windshield couldn’t see under the hood. You misunderstand how easy it is to solve for depth and distance with AI without requiring stereo cameras. Read https://github.com/commaai/openpilot
-
What car should I get for Seattle city and some ski/hike driving? Or not get a car at all?
Nice to have: I want to get a self-driving add-on that supports some cars better than others. Not a must but high up on my nice-to-have list.
- I need some help understanding video uploads.
-
I am nearing the end of my Kona 2020 lease, and I have an appointment at a dealer tomorrow had some questions about leasing an ioniq 6, hopefully someone can help me out.
EDIT: I probably should have added that I currently have the base model of the Kona the lowest model available, and I am looking for a similar thing in the ioniq 6, because my understanding is that it's fully compatible with the comma.ai device and therefore I am not planning on getting the better on board driving system, the Kona that I got unfortunately was not compatible with that device.
-
Tesla: Security Vulnerabilities
I wonder how bad this is compared to the competition. https://comma.ai allows you to add self-driving features to a large number of non-Tesla cars so, if we’re including physical firmware hacks as a threat vector, I’d bet tons of alternative cars (new enough Honda Odysseys, Toyota Siennas, etc: probably anything with adaptive cruise control and lane following) have the same sort of potential vulnerability.
- 2024 highlander has Toyota Security Key Now
-
Cruise co-founder and CEO Kyle Vogt resigns
Not sure, but from the first article from 4 years ago:
>Last month, we had 1,209 cars drive a little over 1,000,000 miles
Let's say they've had zero growth since then, so 48,000,000 conservatively?
Actually, from their website [1]:
>100+ million miles driven and 10k users.
[1]: https://comma.ai
What are some alternatives?
jackson-databind - General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)
sunnypilot - sunnypilot is a fork of comma.ai's openpilot, an open source driver assistance system. sunnypilot offers the user a unique driving experience for over 290 supported car makes and models with modified behaviors of driving assist engagements. sunnypilot complies with comma.ai's safety rules as accurately as possible.
coost - A tiny boost library in C++11.
carla - Open-source simulator for autonomous driving research.
cppinsights - C++ Insights - See your source code with the eyes of a compiler
opendbc - democratize access to car decoder rings
GSL - Guidelines Support Library
dragonpilot - dragonpilot - 基於 openpilot 的開源駕駛輔助系統
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
label-studio - Label Studio is a multi-type data labeling and annotation tool with standardized output format
restclient-cpp - C++ client for making HTTP/REST requests
netron - Visualizer for neural network, deep learning and machine learning models