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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Erlang/OTP 19.0 has been released

288 点作者 johlo将近 9 年前

9 条评论

rdtsc将近 9 年前
* Like the gen_statem new state machine.<p>* mnesia_ext : means a whole set of new possibilities to scale Mnesia. I think Klarna started that work and was using it in production. LevelDB was used for the backend.<p>* 3-5x faster open_port means being able to start and execute external executables. Forking was basically moved to fork a special process as opposed to main VM.<p>Tracing should be a lot faster as well. This is the one I mostly exciting. Been using tracing instead of adding log statement but if it is faster, it means can do more in production with it. Saw they have lttng as well. Also worth playing with.<p>* Code loading is now parallelized. So hopefully startup should be faster.<p>* Domain sockets. I know some people wanted this for ages. This should be nice. There were external project which did it, but it is nice to see it in the VM.<p>* os:perf_counter&#x2F;1 function. Probably a read out of rdtsc or such instruction. That should be fun to use.<p>* ++ operator for lists now uses a single pass, so should be faster (before used to use another pass to check if list is proper).<p>* Observer now has configurable update frequency and length for graph windows. I&#x27;ll be using that. I like observer.<p>Very impressive. Not a lot of 30 some year old languages make such kind of updates (yes Erlang is 30 years old this year, that is probably older than most HNers here).
评论 #11955473 未加载
评论 #11956050 未加载
smegel将近 9 年前
Erlang is written in a ton of quite readable C and assembly. If you like delving into the internals of advanced software, it&#x27;s well worth a read. Take the HiPe compiler for example:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;erlang&#x2F;otp&#x2F;tree&#x2F;OTP-19.0&#x2F;erts&#x2F;emulator&#x2F;hipe" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;erlang&#x2F;otp&#x2F;tree&#x2F;OTP-19.0&#x2F;erts&#x2F;emulator&#x2F;hi...</a><p>It deals with running native and interpreted program code together, just reading the comments gives you a feel for the kind of low level concepts that go into making such an interpreter. I like this one:<p><pre><code> &#x2F;* * Native code calls an emulated-mode closure via a stub defined below. * * The closure is appended as the last actual parameter, and parameters * beyond the first few passed in registers are pushed onto the stack in * left-to-right order. * Hence, the location of the closure parameter only depends on the number * of parameters in registers, not the total number of parameters. *&#x2F;</code></pre>
评论 #11954067 未加载
im_down_w_otp将近 9 年前
<p><pre><code> gen_statem a new state machine behavior </code></pre> Very cool! For reasons not the least of which are the community involvement in its evolution.<p><pre><code> dialyzer: the support for maps is very much extended both the type specification syntax and the type analysis. </code></pre> OMG! Yes! Finally `maps` don&#x27;t have to be a giant escape hatch in the type-checking system.<p><pre><code> Experimental support for Unix Domain Sockets </code></pre> Sweet tap-dancing Moses! This is awesome. I&#x27;ve wanted this for, so so so long. This should pave the way to all kinds of useful things. Better database clients, better Redis clients, more straightforward integration with things like libfiu and tcsd.
评论 #11953173 未加载
评论 #11953168 未加载
willyk将近 9 年前
For anyone who&#x27;s interested, we have some relevant community-run, regional conferences coming up in NYC next month:<p>- Erlang Camp (Sat Jul 16), <a href="http:&#x2F;&#x2F;erlang.camp&#x2F;" rel="nofollow">http:&#x2F;&#x2F;erlang.camp&#x2F;</a><p>- Elixir Camp (Jul 15-17), <a href="http:&#x2F;&#x2F;elixircamp.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;elixircamp.io&#x2F;</a><p>- Phoenix Camp (Jul 15-17), <a href="http:&#x2F;&#x2F;nyc.phoenix.camp" rel="nofollow">http:&#x2F;&#x2F;nyc.phoenix.camp</a><p>- Nerves Camp (Sun Jul 17), <a href="http:&#x2F;&#x2F;nerves.camp&#x2F;" rel="nofollow">http:&#x2F;&#x2F;nerves.camp&#x2F;</a><p>We&#x27;ve got a good mix of speakers coming together and the conference open to all (with suggested donation pricing for tickets).<p>We also still have a few session slots open if anyone wants to present (particularly around Erlang&#x2F;OTP).
X4lldux将近 9 年前
Exciting two days in Elixir world! Elixir 1.3, Ecto 2.0, Erlang&#x2F;OTP 19 - amazing!
评论 #11953387 未加载
评论 #11954394 未加载
brightball将近 9 年前
Everything around the Erlang\Elixir ecosystem just seems to be in a dramatic climb these days.
评论 #11955912 未加载
tbrooks将近 9 年前
And others think building on top of BEAM is risky...<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11946824" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11946824</a>
评论 #11955005 未加载
anfroid555将近 9 年前
erlang:open_port(spawn, ...) 3-5 times faster<p>mnesia_ext: plugin of external storage solutions to mnesia
评论 #11952996 未加载
andy_ppp将近 9 年前
Amazing! Now how do I use Elixir 1.3 with the new Erlang VM?
评论 #11952849 未加载
评论 #11956389 未加载