News for hackers. Stuff that matters.
Re:Show HN: Cannoli – A compiler for a subset of Python writ... by taoistextremist on Thursday May 17, 2018 @02:09PM (#17093825)
This isn't a really important question, but why the name Cannoli? I feel like you missed an opportunity here to call it "PycRust". (c standing for "compiled to" of course)
Re:Show HN: Cannoli – A compiler for a subset of Python writ... by joncatanio on Thursday May 17, 2018 @02:17PM (#17093912)
My heritage is Italian and I happened to be eating cannoli when I started writing the parser around December, figured it'd be a fun name :)
Re:Show HN: Cannoli – A compiler for a subset of Python writ... by taoistextremist on Thursday May 17, 2018 @02:48PM (#17094240)
Well, it is a fun name.

Do you plan to support this down the line? I feel like compilers that compile down to Rust could become really good tools depending on how the popularity of the language goes.

Re:Show HN: Cannoli – A compiler for a subset of Python writ... by joncatanio on Thursday May 17, 2018 @02:55PM (#17094339)
I would certainly like to. The base implementation of Cannoli is the best place to continue this. Some optimizations that were implemented apply restrictions to parts of the language and following these any further would ultimately diverge from the Python project. That being said, many of the optimizations could still be done and "fall back" on unoptimized code at run time if needed. I think this project certainly shows a lot of promise, it just hasn't been developed as long as other projects so it still needs plenty of work :).
Re:Show HN: Cannoli – A compiler for a subset of Python writ... by leshow on Thursday May 17, 2018 @06:46PM (#17096806)
Having been around the Rust community for a few years, I'm a bit tired of -rs and rust names.

I feel like the postfix is something languages lose the bigger they get, I hope this happens to rust too.

Re:Show HN: Cannoli – A compiler for a subset of Python writ... by jrs95 on Thursday May 17, 2018 @02:13PM (#17093873)
I think I read this as "Pike Rust" about 5 times before I got the joke. I guess it's time for that 2PM coffee.
Re:Show HN: Cannoli – A compiler for a subset of Python writ... by tothrowaway on Thursday May 17, 2018 @02:56PM (#17094356)
Took me a minute too. "pie crust".
Re:Show HN: Cannoli – A compiler for a subset of Python writ... by tomjakubowski on Thursday May 17, 2018 @07:34PM (#17097172)
Fortunately, that means the "pie crust" name is still available for a Pike[1]†-Rust project :-)

[1]: https://en.wikipedia.org/wiki/Pike_(programming_language) †: I have a particular fondness for Pike, because it's derived from the first programming language I ever used: LPC. Anyone else an LPC hacker?