Loading video...

Video Failed to Load

Go Home

Who said Python isn't a production grade lanugage?

242,069 views • 1 year ago •via X (Twitter)

49 Comments

Ande Jacobs's profile picture
Ande Jacobs1 year ago

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

comma's profile picture
comma1 year ago

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.

john's profile picture
john1 year ago

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

comma's profile picture
comma1 year ago

@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.

SBA's profile picture
SBA1 year ago

Imagine it was C

comma's profile picture
comma1 year ago

Would it drive better?

SBA's profile picture
SBA1 year ago

Only one way to find out.

max's profile picture
max1 year ago

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

Co's profile picture
Co1 year ago

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

Lang's profile picture
Lang1 year ago

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

Eli Yumn's profile picture
Eli Yumn1 year ago

this brings a whole new meaning to "updating drivers"

Moultrie Ball's profile picture
Moultrie Ball1 year ago

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

comma's profile picture
comma1 year ago

Yes, all compute is local on the comma 3X

chetan's profile picture
chetan1 year ago

It works, but at what cost?

comma's profile picture
comma1 year ago

$999 on

Abhik Sarkar e/acc's profile picture
Abhik Sarkar e/acc1 year ago

@ThePrimeagen would be sad.

comma's profile picture
comma1 year ago

@ThePrimeagen Because he hasn’t tried openpilot yet?

juan 🛡️'s profile picture
juan 🛡️1 year ago

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

void.'s profile picture
void.1 year ago

i swear i didn't.

NA's profile picture
NA1 year ago

Do yo support indian roads?

comma's profile picture
comma1 year ago

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

NA's profile picture
NA1 year ago

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

comma's profile picture
comma1 year ago

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.

NA's profile picture
NA1 year ago

Great thanks, will explore more on this!

network_pun's profile picture
network_pun1 year ago

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.

Rui Silva's profile picture
Rui Silva1 year ago

Who said you need to proofread before posting?

Matjaž Gazvoda's profile picture
Matjaž Gazvoda1 year ago

okay chill you are on a highway

lwiza's profile picture
lwiza1 year ago

I would NOT trust this car 😭

Krzysztof's profile picture
Krzysztof1 year ago

C++ and ROS2 are the kings

Dan Groves's profile picture
Dan Groves1 year ago

Could have coded it to not hog the middle lanes

warlord cavey ∿'s profile picture
warlord cavey ∿1 year ago

lol

Teddy Albina's profile picture
Teddy Albina1 year ago

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

Simba TLK - The Unreserved Profiteering Brahmin's profile picture
Simba TLK - The Unreserved Profiteering Brahmin1 year ago

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!

vinay's profile picture
vinay1 year ago

amazing rage bait. free marketing.

CleoParadise's profile picture
CleoParadise1 year ago

oh wow cruise control ...

comma's profile picture
comma1 year ago

in Python!

Azwan HM 👨🏻‍💻📊's profile picture
Azwan HM 👨🏻‍💻📊1 year ago

But it's slower by 2ms bro

Fume's profile picture
Fume1 year ago

so this is a lane keeping device?

🎄Zukaarimoto Zukirinkutoku🎄's profile picture
🎄Zukaarimoto Zukirinkutoku🎄1 year ago

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

Saakdeep Insayeed Hur's profile picture
Saakdeep Insayeed Hur1 year ago

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

The Engineer's profile picture
The Engineer1 year ago

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

Dawid Weltrowski's profile picture
Dawid Weltrowski1 year ago

So our life depends on Python speed? Scary!

cristianku's profile picture
cristianku1 year ago

I 💕 python . Greetings from 🇨🇭

StevenFu's profile picture
StevenFu1 year ago

People who run 100k for loops.

comma's profile picture
comma1 year ago

That’s too many

Kavu Stock's profile picture
Kavu Stock1 year ago

Nobody remembers this cartoon?

Elastep's profile picture
Elastep1 year ago

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?

billdozer's profile picture
billdozer1 year ago

Is that a 5th gen CR-V?

War Criminal Greg's profile picture
War Criminal Greg1 year ago

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

Related Videos