What Python can learn from Java

Type:
Talk
Audience level:
Experienced
Category:
Core Python (Language, Stdlib)
March 10th 4:55 p.m. – 5:30 p.m.

Description

Java is in some ways a bogeyman to the Python community -- the language that parents scare their children with, the Cobol of the 21st century. But if we look past the cesspool of JEE it turns out that Java has quietly become an excellent systems environment, one that is still in many ways ahead of its time.

Abstract

Introduction

  • The difference between systems and web (and scientific) computing
  • Why Pythonistas should care about systems programming

Concurrency

  • Why "just use multiple processes" is inadequate
  • Why event loops are inadequate
  • java.util.concurrent: low level (collections, synch primitives)
  • j.u.c.: high level (executors, futures, fork/join)

The VM

  • State of the art GC
  • Built-in (and extensible) telemetry

More functional than Python?!

  • immutability
  • Guava: com.google.*