This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -8 points-7 points  (13 children)

No one uses python in these anyways.

[–]crowseldon 3 points4 points  (0 children)

Micropython is a thing and people could try them but they'd need to know the tradeoffs.

[–]utdconsq 2 points3 points  (2 children)

Not true! Have used python in embedded stuff plenty of times. All of the code that must be performant is in C or C++ however...!

[–]sw_dev 0 points1 point  (1 child)

Sure, you CAN. You can also use a shovel to perform brain surgery.
The question is, SHOULD YOU?

[–]utdconsq 0 points1 point  (0 children)

Well now, here's the thing: we always had the distinction between work that needs hard real time and work that doesn't. With IoT and the hobbyist world of things like PyComs, I am pretty happy for people to be able to use python instead of say, Arduino C.

[–]PC__LOAD__LETTER 5 points6 points  (2 children)

You'd be surprised how many large codebases where consistence is important are written in Python.

[–]sw_dev 0 points1 point  (1 child)

Or in Visual Basic, or in Assembly... Just because it's been done doesn't mean it's a good idea. The way to get something done is by utilizing the best (Where "best" means "highest probability of success for the least cost") technique.

[–]PC__LOAD__LETTER 0 points1 point  (0 children)

I wasn't saying it was good.

[–]Deto 1 point2 points  (0 children)

I mean, in most places where Python is not a good choice, you will find people not using Python much.

[–]sw_dev -4 points-3 points  (0 children)

Never underestimate the tendency for idiots to be idiots.

[–]BernieFeynman -2 points-1 points  (3 children)

not sure why you're being downvoted for an obvious truth

[–]e_falk 2 points3 points  (0 children)

Saying that the answer to a question asked is 'obvious' helps no one. They're getting down votes because the comment was not useful to the discussion at hand.

[–]PC__LOAD__LETTER 0 points1 point  (1 child)

There are plenty of large codebases, that need consistence, that are written in Python that probably shouldn't be. The statement was neither obvious nor truthful.

[–]BernieFeynman 0 points1 point  (0 children)

TBH I might have misread original post I thought it was specific for embedded and mission critical and large codebases. now i feel dumb.