!CnJOKhVeFQDJJFlIls:57north.org.uk

Elixir

658 Members
Unofficial room for chatter about the Elixir language. This room is publicly logged. For a room tunneled with the IRC channel, go to #elixir:libera.chat.75 Servers

Load older messages


SenderMessageTime
21 Jan 2023
@Nicd-:matrix.orgNicdand yes, I guess if a NIF blocks forever, then that thread is blocked forever18:53:28
@rkv:matrix.orgrkv 🌱
In reply to @Nicd-:matrix.org

CPU process schedules another dirty NIF on the same process

the schedulers are threads, not processes. also, all NIFs run without interruption, that's why you need dirty schedulers because running a long NIF (> 1ms) on a regular scheduler will adversely affect the VM scheduling

Thank you very much; what I needed to know.
19:23:32
23 Jan 2023
@cstm:matrix.orgcstml joined the room.22:12:02
24 Jan 2023
@mingyar:matrix.orgmingyar joined the room.14:10:24
28 Jan 2023
@playback2396:matrix.orgplayback2396 joined the room.09:12:01
29 Jan 2023
@hfuerstmann:matrix.orgHeikoJust started to learn Python and also have a look at Elixir. Is elixir really so much better for parallel programming than other languages? Is it easier? Faster? 👍11:59:40
@cro:ncbt.orgcro Elixir's support for parallel programming is much better than Python. Python's focus has been on async/await lately though you can still use the multiprocessing module to leverage multiple cores in a pre-emptive nature. The nature of Python's Global Interpreter Lock ends up serializing some operations unexpectedly. 17:18:15
@cro:ncbt.orgcroElixir doesn't have those issues because the Erlang VM was designed from the beginning with concurrency in mind.17:20:09
@h4kor:matrix.orgh4korBut Elixir is not a high performance language. You won't get to performance levels, such as C, Rust or other "low level" languages. It is built for concurrent task, such as web services, not for heavy computation 17:47:05
@cro:ncbt.orgcro Agreed, though performance has many facets. For example, like h4kor observes, Elixir is great for web services, because its highly concurrent nature lets it handle insane numbers of connections. 17:54:08
@rkv:matrix.orgrkv 🌱
In reply to @cro:ncbt.org
Agreed, though performance has many facets. For example, like h4kor observes, Elixir is great for web services, because its highly concurrent nature lets it handle insane numbers of connections.
True. It is a nightmare when functions are coloured and you have to know which colour is what. Moreover, it is a huge cognitive overhead. I just prefer independent threads -- imagine a scenario when your program does only one thing and that is to let the small HTTP request or the file operation to complete. Like fileContents = readFile('filename'). Now that method is ... either deprecated, discouraged or whatnot... Now I have to do readFile('filename', whatToDoWhenComplete) and the next one is function whatToDoWhenComplete(){}. In C# it is less of an issue as you can Task<>.WaitAll() or Task.Wait(). In JS it is a nightmare. What if I only want linear operations? Now there are two versions, thanks to async, one async and one not but also considered 'bad practice', endless warnings and deprecations.
19:01:39
@rkv:matrix.orgrkv 🌱Explicit parallelism like in Erlang/Elixir is just better. Less issues with endless nesting, no 'colouring'...19:02:39
@rkv:matrix.orgrkv 🌱 There is no don't go to the next line until you are done with everything. 19:04:38
@rkv:matrix.orgrkv 🌱I just checked the Python3 docs, seems like as fun as JS with dealing with async...19:08:48
@h4kor:matrix.orgh4korYes, python 3 async is a pain. IMO it still doesn't feel right to use. I also like go's approach of being able to run any function sync and async21:25:20
@gianluca.scacco:matrix.org@gianluca.scacco:matrix.org left the room.21:31:09
30 Jan 2023
@arjgillard:matrix.orgarjgillardDownload Understanding Recruitment 2023 Elixir Salary & Talent Report.pdf11:13:49
@arjgillard:matrix.orgarjgillardThought people would like to read this :) 11:14:03
@rkv:matrix.orgrkv 🌱
In reply to @arjgillard:matrix.org
Thought people would like to read this :)
Good one :)
15:56:38
@rkv:matrix.orgrkv 🌱Elixir is taking Erlang/OTP to more general purpose programming. :D15:56:55
@Nicd-:matrix.orgNicd
In reply to @arjgillard:matrix.org
Thought people would like to read this :)
some longer description of what people are clicking on would be appropriate :)
16:05:28
@arjgillard:matrix.orgarjgillard * Thought people would like to read this :) It is our 2023 Elixir Talent Report16:07:00
@arjgillard:matrix.orgarjgillard
In reply to @Nicd-:matrix.org
some longer description of what people are clicking on would be appropriate :)
Nicd: have amended :)
16:07:13
1 Feb 2023
@m-yusuf:matrix.orgM Yusuf joined the room.16:12:03
@m-yusuf:matrix.orgM YusufHey folks 👋, I'm Yusuf from Bangalore. A novice to Elixir and more. May I know some good static site generator for better performance. It can be of any lang. Want to use for personal portfolio and blogging site. Also, open for any comments / suggestions 16:16:24
@m-yusuf:matrix.orgM YusufAlso, looking if the community has any feedback for elixir based generators16:39:43
@smathy:matrix.orgsmathyA starting place for elixir ones: https://github.com/h4cc/awesome-elixir#static-page-generation17:21:16
@smathy:matrix.orgsmathy(a starting place for any language ones: https://github.com/myles/awesome-static-generators)17:21:46
2 Feb 2023
@m-yusuf:matrix.orgM Yusuf Hey smathy thanks for sharing mate, appreciate it ! 09:58:24
@vancha112:matrix.orgvancha112 joined the room.10:36:23

There are no newer messages yet.


Back to Room List