AstonJ

AstonJ

For those of you who have Apple silicon Macs, how are you finding them? Have you noticed any pros or cons for Elixir dev or dev in general?

Showing Posts 1 to 10

100phlecs

100phlecs

The only con is the difference in architecture from prod, requiring you to set up a CI of some sort.

Other than that, I don’t see nor am aware of any regressions.

sublimecoder

sublimecoder

Haven’t had too many issues some random libraries and support packages have issues but most the time there is a work around or an alternative package you can use. But these are mostly system level stuff not elixir or erlang themselves. Also usually using Rosetta does the trick but sucks juice out of the battery like crazy. So far haven’t had enough issues to warrant not buying one or trying to find intel macs.

cschmatzler

cschmatzler

The main one should be that you cannot just toss —platform linux/amd64 at Docker since QEMU does not support Erlang versions after OTP25. That means you don’t get to easily build multiarch images locally.
That’s really the only thing, though. Wonderful machines otherwise.

josevalim

josevalim

Creator of Elixir
bdarla

bdarla

I am very new in the Apple silicon based development (just a couple of weeks). So far, I do love the extra autonomy due to low battery usage and the ability to have large unified memory to run memory-hungry servers (e.g. Elasticsearch).
An Elixir specific issue that, so far, I do not even know if it is possible to address, is how to utilise the GPU in ML training. While this was relatively easy with PyTorch, I think that Nx ecosystem does not support that, yet.
CPU tasks run a bit faster than the previous Intel based MBP (anecdotal impression close to 30%), but it is not game-changing.
As the others said, I might have to invest my time into employing containers, which is also a positive thing in the sense that I will learn something new (so far I only develop locally).
I did not need Rosetta, yet.

AstonJ

AstonJ OP

Thanks everyone - it’s good to know the transition to Apple Silicon seems to have gone relatively smoothly. I wasn’t intending on getting a new Mac until M4, but it looks like Apple are dropping support for Intel Macs quicker than many expected:

Still going to hold out for as long as I can tho…

Sebb

Sebb

After using thinkpads/windows later linux for almost 20 years I switched to Mac Pro earlier this year.

I will never go back. No issues.

AstonJ

AstonJ OP

Nice one Sebastian! Curious why you opted for the Mac Pro? Do you have a specific need for it?

Cochonours

Cochonours

I bought the first generation Macbook Air M1 when it was new.

Cons:

  • if you need to use an old version of Erlang (before 22.3.something) it just won’t work. The earliest version I’ve been able to install using asdf is 22.3.4.26, for use with elixir 1.8.2-otp-22.
  • you cannot run linux in M1 macs yet (but Mac OS isn’t too bad)
  • I’ve yet to find a way to use my “normal” (non Mac) keyboards flawlessly
  • not sure if related to this chip or the old versions I need to use, but compilation of Elixir project is slow.

Pros:

  • lightweight, silent, and great autonomy (all reasons which made me buy it)

Overall 11/10, and I am no Apple fanboy (never owned an Apple product before that one)

wojtekmach

wojtekmach

Hex Core Team

It could be Spotlight indexing. Check out this Erlang and Elixir on Apple Silicon/M1 Chip - #61 by wojtekmach, and especially the very next post!

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
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
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
maennchen
:warning: Security advisory: Decimal DoS vulnerability A vulnerability has been published for decimal where very large exponents can cau...
New
marciol
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New

Other Trending Topics Top

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
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
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