News for hackers. Stuff that matters.
Re:Zigler: Zig NIFs in Elixir by Miner49er on Thursday October 24, 2024 @02:39PM (#41938312)
Erlang sigils are not, they can be any length, limited to characters allowed in atoms.

Elixir sigils also allow multiple characters in the name, but chars after the first must be upper case, according to the docs.

So for Elixir, it would have to be something like ~zIG

Re:Zigler: Zig NIFs in Elixir by throwawaymaths on Thursday October 24, 2024 @02:50PM (#41938447)
According to the docs, must be all upper case:

> Custom sigils may be either a single lowercase character, or an uppercase character followed by more uppercase characters and digits.

https://hexdocs.pm/elixir/sigils.html

Re:Zigler: Zig NIFs in Elixir by Miner49er on Thursday October 24, 2024 @02:54PM (#41938495)
Ah yeah, you're right.
Re:Zigler: Zig NIFs in Elixir by Muromec on Friday October 25, 2024 @02:46AM (#41942839)
Wait, erlang has sigils?
Re:Zigler: Zig NIFs in Elixir by com on Friday October 25, 2024 @03:43AM (#41943110)
Yeah, there’s a bit of a developer experience push going on in erlang world, which is great!