Week 45/2017 - Python on Hacker News

PUBLISHED ON 2017-11-13 — PYTHON

The 5 most popular Python related submissions from 2017-11-06 to 2017-11-12.

  • Writing a basic x86-64 JIT compiler from scratch in stock Python
    • The boiler-plate part of loading the correct C library for the platform might be useful
    • Otherwise this is above my head - as it is for many people in the comments
    • This is why the comments contain a bunch of links for getting into the classic CS topic of writing a compiler
    • Comments
  • Learning Go by porting a medium-sized web back end from Python
    • Author rewrites 1300 lines of Python (Flask, WTForms, Peewee, SQLite, itsdangerous) into 1900 lines of Go and finds it an overall nice experience
    • He ends up with about 50% more code in Go, but that code is statically typed - what’s easier to maintain at that scale is debatable, at larger scale a typed language is favorable
    • Comments
  • Don Jayamanne, creator of Python extension for VS Code, joins Microsoft
    • I need to get into VS Code more for doing Python work
    • I’m currently only using PyCharm - which is heavy, but I happen to like its code completion
    • Just a matter of habit (I hope)
    • Comments
  • Interfacing Python and C: Advanced “ctypes” Features
    • Nice tutorial, read when interfacing Python with C
    • Comments
  • Show HN: Deep Learning Python Library for Stock Market Prediction and Modelling
    • Interesting idea: The Tweepy library (docs) is used to get Twitter sentiments about stocks
    • Otherwise the ususal: Numpy, Tensorflow, Kera, and data from Quandl
    • Comments

All submissions via HN search.