dom

dom

Here it comes!

Showing Posts 1 to 9

dimitarvp

dimitarvp

Code such as f({ok, Val}) → {ok, Val} is now automatically rewritten to f({ok, Val} = Tuple) → Tuple. this reduces code size, execution time, and removed GC pressure.

@josevalim Is Elixir gonna make use of that?

CptnKirk

CptnKirk

Pretty sure @josevalim contributed that patch. So..yea. :slight_smile:

OvermindDL1

OvermindDL1

“Tuple calls” have been removed from the run-time system.

:sob:

tmbb

tmbb

Don’t worry, you’ll get your OCaml-style modules some other way :winking_face_with_tongue:

kelvinst

kelvinst

Yes, it will, just mentioning (correct me if I’m wrong please) this is on compilation, so the compiled version of f({ok, Val}) -> {ok, Val} and f({ok, Val} = Tuple) -> Tuple are the same, but the code stays the same. So if you use OTP 21 with your Elixir, you’re already using that by default. :wink:

rvirding

rvirding

Creator of Erlang

This is a GOOD thing! They were trying to sneak in OO through a back door. :laughing:

tmbb

tmbb

But with OO the BEAM could become Enterprise-Ready like Java ™!

Qqwy

Qqwy

TypeCheck Core Team

Misc compiler optimizations including contributions from the Elixir team resulting in 10% improvements in benchmarks

Wow, good job! :heart:

Creation of small maps with literal keys optimized.

And this is of course also something that our map-heavy language will love :smiley: !

Support for usage of distribution controller processes for alternative transports, routing etc

Do I hear Partisan and friends coming rapidly nearer? Very cool news for everyone who is into distributed systems, I think!


Congrats, Erlang team!

OvermindDL1

OvermindDL1

Nah, tuple calls are fantastic to emulate first class module functors! Those can also handle ‘most’ of what OOP does as well, except when the compiler implements it well then it can become very efficient (though the beam doesn’t, but, say, OCaml does). :wink:

Now there is no way to emulate it as such, have to manually destructure and all now, which makes witness and such things much less opaque.

Seeing them only as an OOP construct is extremely limiting. :wink:

— All posts loaded —

Where Next? Top

Trending in Erlang News Top

erlangforums
A new Erlang announcement has been posted: Original announcement: https://erlangforums.com/t/patch-package-otp-29-0-6-released/5911
New
erlangforums
A new Erlang announcement has been posted: Original announcement:
New
erlangforums
A new Erlang announcement has been posted: Original announcement: https://erlangforums.com/t/patch-package-otp-27-3-4-17-released/5913
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews