Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lpil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
181.
▲
by
lpil
5y ago
Yes, for sure. I think if you look at Gleam as an alternative to PureScript or similar it's not a very exciting proposition. There's a lot of good options here. This is more an exciting new feature for people who are already using
182.
▲
by
lpil
5y ago
Very cool, I'm looking forward to seeing what you come up with
183.
▲
by
lpil
5y ago
In which case I would encourage you not to participate in Gleam, thank you.
184.
▲
by
lpil
5y ago
Most the details on the home page are specific to Gleam rather than Erlang. If you'd like to hear more this talk from CodeMesh may help -> https://www.youtube.com/watch?v=HaKR2kt-DXI
185.
▲
by
lpil
5y ago
A good point, thank you! We'll have to refine that.
186.
▲
by
lpil
5y ago
k8s offers some of the same benefits but not to the same extent because the restarting and state shedding happens at the level of the a container on k8s. On the Erlang VM it happens on a per-process (what Erlang calls coroutines/green-
187.
▲
by
lpil
5y ago
It will be announced on the gleam-lang twitter account, on the /r/gleamlang reddit, and on the Gleam Discord https://discord.gg/Fm8Pwmy
188.
▲
by
lpil
5y ago
There's not really any tutorials yet I'm afraid. I'm working on it though!
189.
▲
by
lpil
5y ago
Being able to build and view docs locally is a good idea, thank you. If you have some ideas as to what that workflow would be like it would be great if you could open an issue on GitHub
190.
▲
by
lpil
5y ago
We likely will not attempt to port the Erlang concurrency model to the browser, at least not to start. Some Gleam users have been experimenting with an actor model library in JavaScript, this could be the basis of future research. More gene
191.
▲
by
lpil
5y ago
If you're familiar with Elixir you can call Gleam functions the same way as Erlang functions. Gleam compiles to typical Erlang code, and you can even read the compiled output to get a better idea of how it works. Later we will have mor
192.
▲
by
lpil
5y ago
Any code of conduct violation or accusation will be taken with the greatest level of seriousness and will be investigated by myself. Rest assured that violations nor CoC trolling will not be tolerated in any way.
193.
▲
by
lpil
5y ago
1. For sure, "fast" is a bit of a vague term. To be more specific it's not fast at number crunching, but it has a low latency, low standard deviation concurrent garbage collector and it's quite memory efficient. More det
194.
▲
by
lpil
5y ago
That's a good point, thank you. I am a long time Erlang/Elixir user and I've mostly been trying to attract that community in the past, so the docs are very biased towards already knowing the value of that ecosystem. It's
195.
▲
by
lpil
5y ago
The big switch was maybe about 3 years ago? v0.5 had a few more changes away from the ML style too https://gleam.run/news/gleam-v0.5-released/
196.
▲
by
lpil
5y ago
There certainly were other factors, but people have been quite vocal in their enjoyment of the new syntax. I think the ML people like me are kinda used to not getting their favourite syntax. Alas!
197.
▲
by
lpil
5y ago
We have a fully type safe and Erlang compatible OTP library! It is used in production today. https://github.com/gleam-lang/otp It is not a wrapper around gen_server etc, but instead it is a full implementation from the
198.
▲
by
lpil
5y ago
This is certainly something I want to have in future. Being able to add Gleam to an existing Elixir project is something a lot of people have asked for. It is possible today (Quinn did a great talk on this[1]) and there are libraries to hel
199.
▲
by
lpil
5y ago
Purerl is another good one to look at. It's an alternative backend to the PureScript compiler, which is quite a popular language!
200.
▲
by
lpil
5y ago
Sadly Alpaca development has stopped. One of the reasons I started Gleam is that I was working on the Alpaca standard library and realised that the bugs I was reporting were not getting fixed.
201.
▲
by
lpil
5y ago
Unlikely I'm afraid. We used to have an ML style syntax but once we switched to a more mainstream syntax we had a big surge in popularity and interest. I am very fond of the ML syntax, but I think it is the semantics and type system th
202.
▲
by
lpil
5y ago
Nothing has been officially announced but it is something that is being worked on. There is a milestone for it on GitHub https://github.com/gleam-lang/gleam/milestone/17 I expected we'll have an initial
203.
▲
by
lpil
5y ago
Aye, I am very much looking forward to that feature
204.
▲
by
lpil
5y ago
Thank you!
205.
▲
Gleam 0.15
(gleam.run)
234 points
by
lpil
5y ago
|
78 comments
206.
▲
by
lpil
6y ago
Why do you say that?
207.
▲
by
lpil
6y ago
Rust is great but it’s a very different experience writing Gleam. Rust is much faster but more complex and more challenging to learn, Gleam is designed to be more approachable. It is like Go vs C++
208.
▲
by
lpil
6y ago
I think you can usefully tackle this problem without too much difficulty. At least, within a langauge like Gleam you can. An effects tracking system can be used to determine things such as use of FFI, `assert`, recursion, and side effects.
209.
▲
by
lpil
6y ago
> What does `(int, int) -> int` mean? This is an interesting question. Do you have any thoughts on what a better answer to that question might mean? Or languages you think do better here? Thank you
210.
▲
by
lpil
6y ago
This is the first time I've come across your work! Very cool stuff.
More ›