4 ms·
Hey HN! This is what I've been working on for the last 6 months. I'd love your feedback! The current goal is to build data pipelines really fast and operate th
by rmhsilva 6y ago
Hey HN! This is what I've been working on for the last 6 months. I'd love your feedback!
The current goal is to build data pipelines really fast and operate them really well, but I'm also interested to see how far the VM abstraction can be pushed. What would "soft infrastructure" look like?
- mshockwave 6y agoCool project! But what is the killer feature of this language? I'm aware that it's kind of DSL for serverless environment, but a DSL without outstanding features over other languages won't attract much attention IMAO. For instance from the example put on the front page I didn't feel it much cleaner / shorter to write serverless app using this language over Python or Node.js. If it's performance, do you have any numbers to support it?
- rmhsilva 6y agoThe killer feature isn't the language; it's the virtual machine abstraction, which lets us stop thinking about the underlying infrastructure and therefore build stuff faster and have simple performance/observability/cost metrics (because the application logic is fully and formally described, rather than spread across many services/infrastructure). Does that explanation make sense? From a dev point of view, it's this: The ability to take business-logic "units" in Python, and quickly connect them into larger programs/workflows that run on Lambda. So the language features aren't particularly interesting - it's not meant to replace Python. But it can do things that are hard/awkward using just Python.
- gitgud 6y agoReally cool idea! My only notes would be it's not clear at first glance what this language provides. A serverless language doesn't really explain what it is, I mean JS, Python, Java etc.. all run in serverless environments. But after reading more it seems similar to Erlang, as each function can be deployed to other systems and invoked as if it were a local function... <- this is what you want to emphasise. I would suggest adding a graphical flow chart on how this works (maybe like this https://i.imgur.com/fJHyJni.png https://i.imgur.com/fJHyJni.png). Perhaps a comparison of how regular programs invoke functions, compared to how Teal invokes functions (showing scalability and parallel computing). > "Why should I learn a new language?... Because it'll give you a new way to think about cloud software." This is not a good reason. If you want people to learn a random language, you need to demonstrate the reasons why it's better! At first glance it seems crazy to have no interoperability with another language/package manager. Anyway, sorry if I sound critical, I think there's real potential in this idea and am excited to see more development for Teal!
- rmhsilva 6y agoThanks, that's great feedback! - "serverless language". Fair point; I'm still working on how to describe it. I'm trying to get across the idea that it's a language for describing serverless applications (rather than a language that runs in a serverless env). - flow charts: working on it - new language: you're right, that section is pretty cringy
- mncharity 6y agoThere's a current lobsters thread on language rationales[1], and HN thread on Racket's new website[2]. [1] https://lobste.rs/s/6bphbw/fennel_programming_language_rationale https://lobste.rs/s/6bphbw/fennel_programming_language_ratio... [2] https://news.ycombinator.com/item?id=24285767 https://news.ycombinator.com/item?id=24285767
- rmhsilva 6y agoThose are great, thanks for sharing.