volkerwirsing@feddit.org to Technology@lemmy.worldEnglish · 6 days agoRust is Eating JavaScriptleerob.comexternal-linkmessage-square103fedilinkarrow-up1325arrow-down121
arrow-up1304arrow-down1external-linkRust is Eating JavaScriptleerob.comvolkerwirsing@feddit.org to Technology@lemmy.worldEnglish · 6 days agomessage-square103fedilink
minus-squareBalder@lemmy.worldlinkfedilinkEnglisharrow-up2·4 days agoNot all of the stdlib is written in C. Some parts cannot be Python because it’s critical code that needs to be as fast as possible. Python is already slow for many use cases, if the standard lib was all built in Python it would be just too slow for much more use cases.
minus-squareBogasse@lemmy.mllinkfedilinkEnglisharrow-up1·4 days agoI didn’t mean it’s a bad choice ! But I think it’s a good example of the compromise that has to be made here : what’s the best fitting technology vs. how to ensure easy onboarding for future contributors.
Not all of the stdlib is written in C. Some parts cannot be Python because it’s critical code that needs to be as fast as possible.
Python is already slow for many use cases, if the standard lib was all built in Python it would be just too slow for much more use cases.
I didn’t mean it’s a bad choice !
But I think it’s a good example of the compromise that has to be made here : what’s the best fitting technology vs. how to ensure easy onboarding for future contributors.