py14

Languages and libraries

transpiler

SHOW HN2016

96points
44comments
#394of 2,264 in 2016
Top 18%of 2016 by points

How HN took it

CuriousMostly questions and neutral comments

1 positive, 7 neutral or asking, 0 mixed, 5 critical, out of 13 comments about the project. Thread score -0.22.

Idea: 1 for, 2 againstExecution: 0 for, 3 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Novel and cool demonstration of C++14 templates

    From 1 comment
    • Key sentence: "The goal is to showcase the power of C++14 templates and not to create a fully functional transpiler." Viewed through that lens, this is a really novel and cool…
      haberman on HN

Objections

  • Only works on a statically typeable subset of Python

    From 1 comment
    • Should be noted that this only works on a "statically typeable" subset of Python where every variable has a de facto static type inferred at the first assignment. For instance,…
      Sharlin on HN
  • Similar to existing projects like Pythran and Nuitka

    From 2 comments
    • This seems to me to be very close to what Pythran [0] is doing (since 2011), except that Pythran includes some type inference and bridge with Python code. So view through that…
      Joky on HN
    • There's a few similar process. Shedskin, Nuitka, Pythran, etc. They are all pretty cool projects, and worth looking into just to learn new techniques.
      Fede_V on HN
  • Debate over whether 'transpiler' is a valid term

    From 2 comments
    • It is called a compiler even it outputs code in another language, transpiler is some neologism from JavaScript developers without a background in compiler design.
      pjmlp on HN
    • > It is called a compiler even it outputs code in another language Indeed and most compilers do exactly that. Cant help getting a little annoyed whenever I hear this 'transpiler'…
      srean on HN

Questions

  • How does the generated C++ know which template types support the <= operator?

    From 1 comment
    • Would someone be kind to explain how the transpiler/compiler knows that num of T1 generic(?) type can be used with the <= operator? Or that something the user themselves have to…
      seivan on HN

Alternatives named

  • Pythran

    From 1 comment
    • This seems to me to be very close to what Pythran [0] is doing (since 2011), except that Pythran includes some type inference and bridge with Python code. So view through that…
      Joky on HN
  • Nuitka

    From 1 comment
  • Shedskin

    From 1 comment
    • There's a few similar process. Shedskin, Nuitka, Pythran, etc. They are all pretty cool projects, and worth looking into just to learn new techniques.
      Fede_V on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/10919564)