Live data from Hacker News

How we rolled out one of the largest Python 3 migrations

blogs.dropbox.com

21–30 of 141 posts

Re: How we rolled out one of the largest Python 3 migrations

#22
post #17

What happened to their new implementation of Python they were building? I know it was cancelled, but not really why.

Probably because it was 2.7 only, and only 10% faster on Dropbox's code. https://blog.pyston.org/2017/01/31/pyston-0-6-1-released-and...

I'm surprised 10% wasn't enough - 10% bottom-line improvement in programming language implementation is normally massive. Twitter is singing from the roof-tops about 10% improvement in Java performance from the new Graal JIT compiler.

Re: How we rolled out one of the largest Python 3 migrations

#23
post #21
post #7

They forgot step 1 - hire the creator of Python... But seriously, that's an interesting post.

Guido van Rossem recently stepped down from leading the Python project. https://news.ycombinator.com/item?id=17515492

He’s still the creator.

Re: How we rolled out one of the largest Python 3 migrations

#24

I would have thought that Go would be perfect for this sort of system-level-like programming ?

Go code is about ~30% more verbose than equivalent python.

How much faster is Go? Memory usage?

It has to be less demanding on your laptop battery, for example.

Re: How we rolled out one of the largest Python 3 migrations

#26
post #17

Earlier quoted context omitted.

Probably because it was 2.7 only, and only 10% faster on Dropbox's code. https://blog.pyston.org/2017/01/31/pyston-0-6-1-released-and...

I'm surprised 10% wasn't enough - 10% bottom-line improvement in programming language implementation is normally massive. Twitter is singing from the roof-tops about 10% improvement in Java performance from the new Graal JIT compiler.

I would imagine that for code that is performance sensitive enough that a 10% improvement matters, they would be porting to a language with saner performance instead?

Re: How we rolled out one of the largest Python 3 migrations

#27
post #21
post #7

They forgot step 1 - hire the creator of Python... But seriously, that's an interesting post.

Guido van Rossem recently stepped down from leading the Python project. https://news.ycombinator.com/item?id=17515492

Phew

Re: How we rolled out one of the largest Python 3 migrations

#28
post #8

Interesting write-up, though it leaves me terrified how a relatively small, more or less single purpose application like the Dropbox client has over 1 million lines of code in Python alone.

Dropbox doesn't feel that small or "single purpose" to me anymore.

What does the Dropbox client do for me other than syncing files and exposing a bit of the online functionality such as generating share links? (Serious question...)

Re: How we rolled out one of the largest Python 3 migrations

#29
post #27
post #21

Earlier quoted context omitted.

Guido van Rossem recently stepped down from leading the Python project. https://news.ycombinator.com/item?id=17515492

Phew

Wow that didn’t take long.

My suggestion would be a rewrite in Go, loose that sucky language.

Re: How we rolled out one of the largest Python 3 migrations

#30
post #8

Earlier quoted context omitted.

Dropbox doesn't feel that small or "single purpose" to me anymore.

What does the Dropbox client do for me other than syncing files and exposing a bit of the online functionality such as generating share links? (Serious question...)

We can simply start by asking what does “syncing files” include?

Watching files. Keeping backup of files. Keeping conflicts resolved. Watching Selective Sync files and folders. Watching Smart Sync files and folders. Notifications for synced files. Etc. etc.

There’s way more the client does than what I mention.

Post reply on HN