Live data from Hacker News

Show HN: Winglang – A new cloud-oriented programming language

github.com

1–10 of 72 posts

Re: Show HN: Winglang – A new cloud-oriented programming language

#5
post #4

Can you explain the idea behind a cloud-oriented programming language? How does it works?

I'm not affiliated, but I'd guess that things like "object storage" are a first class citizen, similar to a "string" or "float" in other languages.

Re: Show HN: Winglang – A new cloud-oriented programming language

#6
post #3

Very cool! What's the difference between WinLang and Serverless?

One is a programming language, the other is the accepted name for the concept of "pay as you go" PaaS services.

GP may have been referring to Serverless Framework (http://serverless.com/)

Re: Show HN: Winglang – A new cloud-oriented programming language

#7
post #3

Earlier quoted context omitted.

One is a programming language, the other is the accepted name for the concept of "pay as you go" PaaS services.

GP may have been referring to Serverless Framework ( http://serverless.com/ )

Yup

Re: Show HN: Winglang – A new cloud-oriented programming language

#8
> infrastructure and runtime code in one language

This is fertile ground for new languages, apparently they call this the "Construct Programming Model" but there appears to be no meat to the theory. If programming language theory was leveraged properly I think they'd really be on to something. See the success of Rust for example.

I just did some cursory research and came across a paper on "ABS: A high-level modeling language for cloud-aware programming" which would give a much stronger foundation for such an effort than JavaScript.

Re: Show HN: Winglang – A new cloud-oriented programming language

#9

Very cool! What's the difference between WinLang and Serverless?

The way I read it is that Winglang combines your IaC and your runtime logic/code. In theory it's pretty neat, I haven't given it a serious try though. I'm not totally convinced that I want my infrastructure definition intermingled with my business logic though.

Re: Show HN: Winglang – A new cloud-oriented programming language

#10
I looked through the docs and I don't see any async methods, is that built into inflight like this code snippet I found?

queue.setConsumer(inflight (body: str): str => { let next = counter.inc(); let key = "myfile-{next}.txt"; bucket.put(key, body); });

Post reply on HN