Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Who said Python isn't a production grade lanugage?

242,069 Aufrufe • vor 1 Jahr •via X (Twitter)

49 Kommentare

Profilbild von Ande Jacobs
Ande Jacobsvor 1 Jahr

I mean if your python is just a wrapper for libraries written in c that do the heavy lifting.

Profilbild von comma
commavor 1 Jahr

We used to do this, but openpilot is largely moving in the direction these days. New UI ships next release that drops C++ Qt+Wayland for a much simpler and more performant Python version.

Profilbild von john
johnvor 1 Jahr

@HeadBand42 If you managed to make C++ slower than Python you must have no clue what you're doing

Profilbild von comma
commavor 1 Jahr

@HeadBand42 Of course it's possible to make it fast in C++ too, but the point is that there's more to the choice than C++=good and Python=bad. The old stack was complex and hard to reason about, but the new one is fast (even though it's Python) because you know exactly what's happening.

Profilbild von SBA
SBAvor 1 Jahr

Imagine it was C

Profilbild von comma
commavor 1 Jahr

Would it drive better?

Profilbild von SBA
SBAvor 1 Jahr

Only one way to find out.

Profilbild von max
maxvor 1 Jahr

> Production-grade Python code > Look inside > Python API that calls C code

Profilbild von Co
Covor 1 Jahr

"production grade" is the "military grade" of the software engineering world.

Profilbild von Lang
Langvor 1 Jahr

Looking great driving straight, not changing lanes by itself yet.

Profilbild von Eli Yumn
Eli Yumnvor 1 Jahr

this brings a whole new meaning to "updating drivers"

Profilbild von Moultrie Ball
Moultrie Ballvor 1 Jahr

Is all the compute handled by the device in the windshield? No way!

Profilbild von comma
commavor 1 Jahr

Yes, all compute is local on the comma 3X

Profilbild von chetan
chetanvor 1 Jahr

It works, but at what cost?

Profilbild von comma
commavor 1 Jahr

$999 on

Profilbild von Abhik Sarkar e/acc
Abhik Sarkar e/accvor 1 Jahr

@ThePrimeagen would be sad.

Profilbild von comma
commavor 1 Jahr

@ThePrimeagen Because he hasn’t tried openpilot yet?

Profilbild von juan 🛡️
juan 🛡️vor 1 Jahr

I think I'll finally give it a shot and get a comma next month!

Profilbild von void.
void.vor 1 Jahr

i swear i didn't.

Profilbild von NA
NAvor 1 Jahr

Do yo support indian roads?

Profilbild von comma
commavor 1 Jahr

openpilot is trained 50-50 on US and international data, so it works anywhere with roads. We have a handful of Indian users.

Profilbild von NA
NAvor 1 Jahr

Great to hear that, is there a way to be part of your model training program or maybe sign up for an international launch?

Profilbild von comma
commavor 1 Jahr

yes! the comma 3X shows you how to upload to get in the training set, and tells you how much of your driving is used.

Profilbild von NA
NAvor 1 Jahr

Great thanks, will explore more on this!

Profilbild von network_pun
network_punvor 1 Jahr

it's wild the amount of static about python is in this thread. Bitching about how people make their sausage is such an insufferable waste of communication. You think you can do it better, then do it better. Yap less.

Profilbild von Rui Silva
Rui Silvavor 1 Jahr

Who said you need to proofread before posting?

Profilbild von Matjaž Gazvoda
Matjaž Gazvodavor 1 Jahr

okay chill you are on a highway

Profilbild von lwiza
lwizavor 1 Jahr

I would NOT trust this car 😭

Profilbild von Krzysztof
Krzysztofvor 1 Jahr

C++ and ROS2 are the kings

Profilbild von Dan Groves
Dan Grovesvor 1 Jahr

Could have coded it to not hog the middle lanes

Profilbild von warlord cavey ∿
warlord cavey ∿vor 1 Jahr

lol

Profilbild von Teddy Albina
Teddy Albinavor 1 Jahr

Thank all the C and C++ guys doing all the work 👍

Profilbild von Simba TLK - The Unreserved Profiteering Brahmin
Simba TLK - The Unreserved Profiteering Brahminvor 1 Jahr

Python is literally a prototyping language. Sadly we didn't include a pathway from prototype to production grade code transformer. Now we are stuck with whatever we have - a gazillion versions, broken dependencies, GIL!

Profilbild von vinay
vinayvor 1 Jahr

amazing rage bait. free marketing.

Profilbild von CleoParadise
CleoParadisevor 1 Jahr

oh wow cruise control ...

Profilbild von comma
commavor 1 Jahr

in Python!

Profilbild von Azwan HM 👨🏻‍💻📊
Azwan HM 👨🏻‍💻📊vor 1 Jahr

But it's slower by 2ms bro

Profilbild von Fume
Fumevor 1 Jahr

so this is a lane keeping device?

Profilbild von 🎄Zukaarimoto Zukirinkutoku🎄
🎄Zukaarimoto Zukirinkutoku🎄vor 1 Jahr

Here a Python dev, every language is suitable to be production ready if the team has enough skills and knowledge Python is slower than other languages? True, but if everyone were looking for the maximum performance they would be coding in assembly xD

Profilbild von Saakdeep Insayeed Hur
Saakdeep Insayeed Hurvor 1 Jahr

It's all fun and games til a TypeError at runtime wraps you around a fucking tree 💀

Profilbild von The Engineer
The Engineervor 1 Jahr

The fact that you've open sourced the source code makes this even more based

Profilbild von Dawid Weltrowski
Dawid Weltrowskivor 1 Jahr

So our life depends on Python speed? Scary!

Profilbild von cristianku
cristiankuvor 1 Jahr

I 💕 python . Greetings from 🇨🇭

Profilbild von StevenFu
StevenFuvor 1 Jahr

People who run 100k for loops.

Profilbild von comma
commavor 1 Jahr

That’s too many

Profilbild von Kavu Stock
Kavu Stockvor 1 Jahr

Nobody remembers this cartoon?

Profilbild von Elastep
Elastepvor 1 Jahr

Got low memory in the middle of today’s highway drive. No way I could restart my comma during drive. So, I guess it’s not that great?

Profilbild von billdozer
billdozervor 1 Jahr

Is that a 5th gen CR-V?

Profilbild von War Criminal Greg
War Criminal Gregvor 1 Jahr

Then why do you need all that janky C++ then huh? Huh?

Ähnliche Videos