TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Gleam v1.9

240 点作者 lpil3 个月前

10 条评论

trescenzi3 个月前
As always Gleam’s lsp actions show just how much useful code generation can be done without the need for any gen ai so long as you have strong types. I continue to be amazed just how much the community cares about the developer experience of the language.
评论 #43308974 未加载
ThinkBeat3 个月前
I do not quite understand that it runs on BEAM and Javascript with runtime.<p>Most of the great things I like about Elixir is tied to feature native to BEAM. (I think).<p>And I would expect that BEAM has not been ported to a Javascript runtime?<p>I would also expect at Gleam for Javascript can use and interact with Javascript libraries and what not, not possible under the regular version.<p>I would also expect that it is possible to write useful code that mill work on both platforms. but with a lot of limitations.<p>Do I have this completely wrong?
评论 #43309505 未加载
评论 #43311519 未加载
评论 #43309414 未加载
评论 #43309523 未加载
评论 #43311901 未加载
评论 #43313935 未加载
tmountain3 个月前
Feels like Gleam is gaining a lot of steam and getting a lot of attention recently. It’s the language that I am most excited about right now. It’s hitting all the right notes.
giacomocava3 个月前
All the pain to get echo working was 100% worth it! What a great release
评论 #43310505 未加载
评论 #43309124 未加载
maleldil3 个月前
Gleam looks like a really nice language that I haven&#x27;t had a place to use yet. Does anyone have experience using it as a replacement&#x2F;alternative for TypeScript for (e.g.) CLI tools?
ivanjermakov3 个月前
What is the point of making echo a special syntax and not just a function? And add another function to retrieve stack info.
评论 #43310476 未加载
akudha3 个月前
As Elixir is getting its own type system, should one still pick Gleam over Elixir?
评论 #43310220 未加载
评论 #43312784 未加载
评论 #43311006 未加载
fn-mote3 个月前
I tried to find out why I would try gleam, what I would use it for.<p>What I found convinced me it wasn’t for me.<p>1. Language behavior depends on the back end. Int doesn’t necessarily mean Int.<p>&gt; When running on the Erlang virtual machine ints have no maximum and minimum size. When running on JavaScript runtimes ints are represented using JavaScript&#x27;s 64 bit floating point numbers.<p>2. If it’s not an Int it’s a Float. Short numeric tower. I guess that’s ok. No BigInt with a guarantee it will not overflow? No exact Rational?<p>3. Type annotations [are optional and] “don’t change how the program runs”.<p>Ok this sounds like Python. Supposedly there are guarantees indicating “if it compiles it runs” but I’m worried. How do you even know the inferred type of your function is what you really think it should be? (I’m familiar with inference gone crazy from Haskell.)
评论 #43314293 未加载
评论 #43313880 未加载
shepherdjerred3 个月前
What&#x27;s a good way to learn Gleam? In college I would learn new languages&#x2F;libraries&#x2F;concepts through projects, but these days I have too many projects already.<p>I don&#x27;t expect I&#x27;ll ever use Gleam at work, but the language does look very appealing to me and fun to use.
评论 #43312139 未加载
singularity20013 个月前
Whatever happened to the Erlang wasm backend?
评论 #43327838 未加载