Tuesday, May 11, 2010

Reia: Year 2

Yes, two years, the same as the number of heads on this turtle...

It's been two years since I committed the initial scanner to the Reia repository, which was the first commit of real code.  Last year I posted a large list of features which I had managed to crank out in the previous year.  But then I began to struggle with the codebase and implementation, and started to doubt some of the features I had been adding and suggested forking off the old implementation and starting over anew, as, alas, due to some poor design decisions Reia was unusably slow.

Rather than doing that, I decided to do a largely ground up rewrite, incorporating bits and pieces of the old code.  In the intervening time I had learned a lot about Erlang, like records are a necessary evil.  I had learned a lot more about how the Erlang compiler works and how people ordinarily write parse transforms, namely the extraordinary power of mapfold_subtrees.  After powering through the rewrite, the result was a much leaner, nimbler, and above all else comprehensible codebase with substantially better performance.

Unfortunately because of the rewrite I haven't managed to equal the same list of features the language could boast last year, but has picked up many new ones.  All your normal C-like bitwise operators now work.  C's ternary operator now works, and even supports the same wacky associativity as languages like C and Ruby (but unfortunately not the wacky left-associativity of PHP).  But even better, Reia now supports "magic rebinding" which allows you to use Reia's dicts with the same syntax as Ruby or Python, and even supports rebinding of a method's receiver using Ruby's method! syntax.

Recently I've added the basics of an immutable object system, and begun work on class-based polymorphism.  The goal is to put an OO-like face on a system similar to Erlang's parameterized modules.  Parameterized modules are an alternative way of storing structured data, created as an alternative to Erlang's records, one of the language's most shunned features.  However, it seems most people still steer clear of parameterized modules and find using them odd.  I hope Reia's immutable objects will provide the much sought after solution to this problem, by coupling state and function in the way Joe Armstrong so detests.

I would like for immutable objects to form the basis for almost everything in Reia.  The core types will be immutable objects.  Exceptions will be immutable objects.  External resources... you guessed it, immutable objects.

Does that mean processes, particularly ones like gen_servers, can also be immutable objects?  Maybe, but I'd much rather pursue making gen_server a first class part of the language.  Right now there's a considerable amount of boilerplate involved in creating a gen_server.  In the previous branch of Reia I managed to create a great proof of concept demonstrating a concurrent object system with "mutable" (yet behind the scenes still pure functional) instance variables using a syntax identical to Ruby's class definition syntax.  I still would like to add this back.

But in the meantime, I'm working on Reia again, immutable objects are on the way, and after that, the initial standard library and the first official release.

50 comments:

قمم التميز said...

شركة مكافحة حشرات
تهتم شركة قمم التميز باعمال الرش والقضاء على الحشرات المنزلية فمهما كانت المعاناة ومهما كانت كمية الحشرات التى تعانى منها فتعاون مع افضل شركة تهتم بهذه الخدمة الان شركة مكافحة حشرات بالرياض
الحشرات المنزلية من المشكلات التى تعانى منها البيوت ، وخصوص فى المناطق المرتفعة فيها الحرارة ، وحيث تنشر الحشرات فى المنزل وقد تسبب متاعب كثيرة وأمراض خطيرة .
وللحماية منزلك من الحشرات ومنع دخولها ويمكن ان نطرح بعض النصائح :
*الحرص على النظافة الدائمة للمنزل ،
*التهوية الجيدة لغرف المنزل ودخول أشعة الشمس لقتل الحشرات التى لا ترى إلا بالعين المجردة . شركة مكافحة الصراصير بالرياض
*التخلص من القمامة أول بأول حتى لا تكون عرضه للأنتشار الحشرات .
نتظيف خزانات الطعام وتهويتها جيدة، والتخلص من الفضلات ، وغلق المحكم للبرطمانات للطعام التى تواجد فى خزانة حتى لا تكون مصدر لتسرب الحشرات .
*وضع سلك شبكة صغير الحجم على النوافذ والأبواب ، وسد الثقوب والشقوق بالأسمنت اوجبس ،لكى لا تتسرب الحشرات منها .
*تنظيف الأطباق وأوانى الطعام بعد استعمالها مباشرة ، لأنها قد تسبب فى خروج الحشرات من المكان التى تعيش فيه .
*عدم ترك فضلات الطعام على مائدة الطعام ، وتنظيف بصفة دورية تمنع من أنتشار الحشرات والوقاية منها . شركة مكافحة فئران بالرياض
وهناك حشرات متعددة قد تسبب للأنسان أزعاج دائم ومنها : النمل والصراصير والبق والذباب والناموس والفئران .
النمل نوعان * النمل عادى مصدر غذائه فضلات الطعام ويعيش فى ثقوب وشقوق المنزل . شركة مكافحة البق بالرياض
أما النمل العادى التى يتواجد المطبخ يمكن التخلص منه بقليل من الصودا المخلوطة بالسكر وضعها فى الثقوب والفتحات التى تخرج منها فالنمل يموت فى الحال .
فى خزانة الطعام نضع فيها قليل من القهوة المرة أو الفلفل غير المطحون فهو يخلصك من النمل نهائيا وكذلك الحشرات الأخرى . شركة مكافحة الصراصير
والصراصير لمنعها من أنتشارها فى المنزل يمكن سد البالوعات والمراحيض فى الليل ، صب المحاليل السامة أو مشتقات البترول القتلة فى فتحات المراحيض والبالوعات ثم صب ماء عليها فى الصباح.
ممكن عمل كرات من الدقيق بها مواد سامة أى معجونة بالمبيدات الحشرية ووضعها فى المكان الذى تكثر فيه الصراصير .... وتكون بعيده عن منتاول الأطفال .
العثة تكثر فى فصل الشتاء بسبب الرطوبة العالية وفيجب تهوية المنزل ، و تهوية الغرفة من المفروشات والوسائد ، والشمس لها أثر فعال على قتل الجراثيم والميكروبات مكافحة البق
وللمحافظة على الملابس من العتة تنظيفها بالفرشاة لأزلة ما يعلق من بويضات أوديدان صغيرة الحجم ، وضع معها قليل النفتالين او الصابون المعطر.




Unknown said...

دانلود بازی تخته برای اندروید Abalone
دانلود جایگزینی مناسب برای ویندوز XYplorer v15.00.0500
دانلود نرم افزار افزایش کارآیی و سرعت کامپیوترWinUtilities Pro 11.36

giaonhan247 said...

Thanks for sharing, nice post! Post really provice useful information!

Giaonhan247 chuyên dịch vụ order hàng mỹship hàng từ mỹ về việt nam cũng như giải đáp mua hàng trên amazon có đảm bảo không cùng với bảng giá gửi hàng đi mỹ giá rẻ.

Unknown said...

https://fortnitemobilemod.xyz/apk/
https://zapapk.com/candy-crush-saga-mod-apk/
pubg apk

Juliana Kho said...

daftar sabung ayam s128
bluebet mobile
cbet bola online
918kiss
download apk osg777

slot online joker123

ahmed said...

And then start the process of sanding in the transport cars Alafsh Jeddah, which in turn transfer the trash into the stores of our company.
افضل شركة مكافحة حشرات

dadyar said...

wooow find the best site mrdadyar.blogfa

Susan said...

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. 192.168.l.254 is a private IP address that comes in a range booked from IANA (Internet Assigned Number Authority) for specific purposes, though in many cases users mistype the IP address as 192.168.1.254 where the character one is assumed as letter L.

rima said...

siliguri escorts
siliguri escort
siliguri female escorts
siliguri escort service



siliguri escorts
siliguri escort
siliguri female escorts
siliguri escort service



siliguri escorts
siliguri escort
siliguri female escorts
siliguri escort service



siliguri escorts
siliguri escort
siliguri female escorts
siliguri escort service

Susan said...
This comment has been removed by the author.
pkv games said...

layanan jasa cargo murah hanya ada disini. https://www.indonekargo.com/

Aerocity Service said...

Paharganj Escorts
Dwarka Escorts
Russian Escorts Noida
Russian Escorts Delhi
Karol Bagh escorts
Delhi Escorts Service
Escorts in Delhi
Call girls in Delhi
Delhi escort
Aerocity Escorts

Jane A. Jones said...
This comment has been removed by the author.
Unknown said...

Greetings! It' me again, Hitmasters. I bought this software and played with it. It's pretty good, but I've found it isn't doing the one thing I really want - partnership analysis. It does not give me the opportunity to analyze a partnership based on different capital breakdowns and preferred returns etc. Their full version of REIA * allows * it, but it is $ 495, not the one I bought. Anyway, does anybody here use this software to check the coding of games, like monster legends strategy?

R1se Hluoluo said...

Fitur unik dari versi permainan bola Mesoamerika adalah bola memantul yang terbuat dari karet – tidak ada budaya awal lainnya yang memiliki akses ke karet.

Permainan bola pertama yang juga melibatkan tendangan terjadi di Cina pada abad ke-3 dan ke-2 SM dengan nama cuju. Cuju dimainkan dengan bola bundar (kulit dijahit dengan bulu atau bulu di dalamnya) di atas bidang persegi. https://Rangkumbola.web.id Bentuk modifikasi dari permainan ini kemudian menyebar ke Jepang dan dengan nama kemari dipraktekkan dalam bentuk upacara.

Mungkin cuju yang lebih tua adalah Marn Gook, dimainkan oleh orang Aborigin Australia dan menurut emigran kulit putih pada tahun 1800-an, permainan ball terutama melibatkan tendangan. Bola dibuat dari daun atau akar yang terbungkus. Aturannya sebagian besar tidak diketahui, tetapi seperti banyak versi awal permainan lainnya, menjaga ball di udara mungkin merupakan fitur utama.

PGSLOT said...

สนุกสนานและเพลิดเพลินไปกับการทำเงินใน Summon & Conquer เกมสล็อตรูปแบบใหม่ พร้อมมอบกำไรให้คุณไม่อั้น คลิกที่นี่ เกมสล็อตราชาเกมนี้ สร้างและออกแบบมาได้เป็นอย่างดี เพื่อเอาใจและทำให้เหล่านักเดิมพันทั้งหลายเล่นได้แบบไม่มีเบื่อนั่นเอง ด้วยฟีเจอร์ใหม่ ๆ และโบนัสก้อนโตของตัวเกม เหล่านักพนันเกือบทุกคน จึงยกให้เกมสล็อตเกมนี้ เป็นเกมที่ทำกำไรได้ดีมากที่สุด นอกจากนี้ยังมีฟีเจอร์ภายในเกมที่จะช่วยให้ผู้เล่นมีโอกาสได้ลุ้นรับรางวัลกันมากขึ้นกว่าเดิมอีกด้วย ผู้เล่นท่านใดที่ชอบเกมสล็อตแนวแฟนตาซี คุณต้องไม่พลาดเกมสล็อตผลงานดี ๆ แบบนี้เด็ดขาด ผู้เล่นสามารถเลือกรับโบนัสและโปรโมชั่นพิเศษมากมายได้ฟรีตลอด 24 ชั่วโมง ท่านสามารถกดเลือกรับโปรโมชั่นได้ตั้งแต่ครั้งแรกที่สมัครสมาชิก พร้อมรับโบนัสไปอีก 50% แนะนำเพื่อนลุ้นรับโบนัสสูงสุดไปอีกทันที 20% มีบริการฝากถอนรวดเร็วทันใจผ่านระบบออนไลน์ เปิดใจเล่นเกมกับเราวันนี้เราจะดูแลคุณให้ดีมากที่สุดเอง !!

seoreturn168 said...

เล่นง่ายได้เงินไวกับเกมสล็อตอันดับ 1 เครดิตฟรีไม่ต้องฝาก

koko said...

จัดหนัก จัดเต็ม อีกแล้วที่ MEGA GAME เอาใจเหล่านักเดิมพันที่ชอบการเสี่ยงโชค สำหรับวันนี้เรา "คืนยอดเสีย 10%" ให้กับนักเดิมพันที่ไม่รับโปรโมชั่นระหว่างวัน เท่านั้น!! ทำเทิร์น 2 เท่า รับสูงสุด 1000 บาท กดเลย http://www.megagame.ai แล้วคุณจะพบกับโปรโมชั่น ปัง ปัง ที่คุณต้องประทับใจ

AMB said...

ใครที่กำลังประสบปัญหาน้ำหนักตัว ที่เพิ่มขึ้นอย่างไม่หยุดหย่อน ซึ่งอาจจะทำให้เกิด โรคอ้วน ซึ่งโรคอ้วนนั้นจะเป็นตัวนำทางของอีกหลายๆ โรคที่จะตามา ไม่ว่าจะเป็น โรคความดัน เบาหวาน หัวใจ เเละโรคอื่นๆอีกมากมาย ทางออกอยู่ตรงนี้เเล้ว Trycbs คลิกเลยที่นี่ ได้รวบรวมเรื่องราวที่จะข่วยให้ลดน้ำหนักอย่างถูกวิธี เเละเเชร์วิธีการออกกำลัง อาหารที่จะช่วยให้สุขภาพดี รวมไว้ที่นี่เเล้ว !!

joker said...

pg slots and online slots formulas are games that are not difficult to understand. don't waste time Can play immediately, get pg slot formulas and can apply various techniques Go and use it as a guide to play free pg slots formulas. สล็อต


PG

tiner said...

New game Bali Vacation Bali Island Escape white day from an airship Draw a long, straight line of blue sky. above the enchantingly beautiful island Located at the northern end of the Equator line, Bali, travelers from all over the world. come here to visit the island that is famous and famous Experience a charming ocean view, a small shop full of uniqueness. that cannot be found like that again including playing marine activities entertaining including thrilling slot pg

เล่นสล็อต.net said...

continues to@playslot.net heat up for COVID-19 infections of people in our entertainment industry With entertainers coming out to announce that they are infected with covids and keep taking care of each other. Recently, the famous actor and organizer Noi-Busakorn Wongpuaphan was another person who came out to report that he was now infected.

Anonymous said...

เร้าใจไปกับการผจญภัยครั้งยิ่งใหญ่ พบกับสมบัติการและเงินทองตลอดการเดินทาง คลิกมาเลยที่เว็บไซต์ SLOT PG เว็บไซต์ที่จะพานักเดิมพันเดิมทางผจญภัยไปกับโลกของเกมออนไลน์ที่ดีที่สุดในเวลานี้ เกมที่ถูกสร้างและถูกพัฒนามาอย่างดีมีประสิทธิภาพในการทำเงิน ระบบเกมยังมีมาพร้อมกับความเสถียร นักเดิมพันสามารถเล่นได้เป็นระยะเวลานานๆ โดยไม่ต้องพบกับปัญหาใดๆ เล่นได้เท่าไหร่ รับเงินได้เลยทันที ไม่ต้องเทิร์น ไม่มีเงื่อนไขใดๆ ทั้งสิ้นสำหรับการถอนเงินรับเงินรางวัล

PGSLOT said...

มาแล้วเกมสล็อตออนไลน์ยุคใหม่ของเว็บไซต์พีจี เป็นเว็บเกมสล็อตออนไลน์ที่มีนักพนันออนไลน์เข้ามาเพลิดเพลินในการเดิมพันในยุคของเกมสล็อตที่มาในแนวของโลกออนไลน์มากที่สุด มาพร้อมบริการฝากถอนอัตโนมัติผ่านระบบออนไลน์ True Money Wallet ฝากถอนได้ฟรีไม่มีค่าบริการ สามารถเข้าใช้งานได้ทุกระบบทั้ง iOS และ Android เล่นได้ทั้งบนโทรศัพท์มือถือและคอมพิวเตอร์ทุกระบบทันที เล่นได้ทุกที่ทุกเวลา

koko said...

เกมสล็อตที่ให้คุณลงทุนทำกำไรกันอย่างเต็มที่ ไม่มีการจำกัดยอด มาลงทุนไปกับพวกเราได้ที่ MEGAGAMES เว็บเกมสล็อตออนไลน์ที่ให้บริการเรื่องการวางเดิมพันไปกับเกมสล็อต ที่ไม่มีการกำหนดงบในการเดิมพัน สามารถลงเดิมพันเท่าไรก็ได้ตามที่ใจต้องการ ยิ่งลงเงินเดิมพันมากยิ่งมีสิทธิ์รับเงินได้สูงขึ้น

tiner said...

In addition, the quiet play sessions allow us to concentrate more on playing. whether it is in terms of setting goals or waiting in the prize draw round In addition to the night, it will affect you to be able to use the service continuously. สล็อตแตกง่าย 2022

tiner said...

Joker King Slot Game or JOKER KING is the most suitable online slot game. The most popular at this time are slots games that are fun and get real money gambling. slot pg

tiner said...

When you aim for the lowest before playing slots try to understand Tricks to manage online slots money right here pg slot เว็บตรง

tiner said...

Spin to get a block of assets or a casino game that is popular like online slots is also available. It is the game that is the most played in Thailand pg slot เว็บตรง

tiner said...

broken bonuses From the famous slot camp, slot pg that is safe, pays for sure, 100% with the following games. pgslot เว็บตรง

tiner said...

As you know, slot games are now available in the form of the web. The service in the form of this website makes the accessibility of online slot games that it is very easy สล็อตxo

Evan said...

หากท่านใดสนใจเล่นบาคาร่าออนไลน์ แต่ไม่เคยมีประสบการณ์เล่นมาก่อนเลย เชิญทางนี้เลย Sagameherelao มีโหมด ทดลองเล่นบาคาร่า ฟรี โดยที่คุณไม่ต้องฝากเงินเข้าไปก็สามารถเข้าเล่นได้แล้ว เรามีเครดิตให้ฟรี หากว่าคุณติดใจอยากสมัครสมาชิกกับเรา เพียงแค่คุณแอด Line @hl168สมัครสมาชิกฟรี สมัครได้ตลอด 24 ชั่วโมง เราพร้อมให้บริการตลอดทั้งวัน สมัครวันนี้คุณมีสิทธิ์ได้ร่วมสนุกลุ้นรับของรางวัลต่าง ๆ มากมาย ไม่ว่าจะเป็น เงินสด หรือ iphone 12 pro max ฟรี ไปเลย 1 เครื่อง แจกหนัก จัดเต็ม ต้อง เฮียเหลาเผาโต๊ะเท่านั้น !!

tiner said...

PG camp online slots game
Slot games are easy to play and get money quickly.
PG's online slots games are constantly releasing new slot games. Falling on average 2 games สล็อตเว็บตรง

tiner said...

Slot site, direct website 2022, the topic of choosing the right game system by this time. We will tell you to recommend. Big sites include slots games. Playing slots with various types of slots helps to fill your confidence for your gambling stability. สล็อตเว็บใหญ่ที่สุด

AnimeSaturn said...
This comment has been removed by the author.
AnimeSaturn said...


Gelsin Hayat Bildigi Gibi Sub ita has been termed as the best content service providers , as this service is one of the common and fundamental required service for almost all Romania tv shows. Get in touch with us for the best services.

papa said...

Let's playnextspin สล็อตออนไลน์

papa said...

Let's play20รับ100 สล็อตเว็บตรง

Slot online the best said...

Jaopg Trial Slots Allows you to try different slot games เว็บตรง

Rachagame said...

Pgslot-ogz Today, I would like to tell you about introducing online casinos. สล็อตpg

El zaha said...

รวมเว็บ SPINIX ที่ก็แค่สมัครเป็นสมาชิกก็สามารถกดยอมรับได้แบบไม่มีเงื่อนไขแล้ว และนอกเหนือจากนี้การสมัครเป็นสมาชิก SPINIX เครดิตฟรี ไม่ต้องฝากก็ยังสามารถทำเป็นง่ายไม่มีความจำเป็นที่จะต้องมีบัญชีธนาคารรวมถึงยังรองรับแบงค์ชั้นเยี่ยมใน ประเทศไทยทุกแบงค์อีกด้วยแอดไม่นติดต่อง่ายแค่เพียงยืนยันตัวตนก็สามารถรับเครดิตฟรีไปใช้งานได้แล้วไม่ยุ่งยากเลยแม้แต่น้อยถึงแม้ว่าคุณต้องการจะเริ่มทำเงินตั้งแต่อายุยังน้อยรวมทั้งเริ่มตั้งแต่วันนี้ด้วยเครดิตฟรีที่มีแจกค้ำประกันว่าคุณจะก้าวไปสู่อนาคตที่แจ่มใส

El zaha said...

แทงบอล ออนไลน์ ว่ามีความเป็นมาอย่างไร เมื่อเอามารวมกับกลเม็ดในการแทงบอลที่ท่านมี ก็สามารถที่จะทำวางเดิมพันได้อย่างเที่ยงตรงมากขึ้นรวมทั้งทำให้ท่านสบโอกาสชนะการเดิมพันได้มากเยอะขึ้นนั่นเอง

El zaha said...

มวยพักยก เป็นอีกหนึ่งบริการที่เลือกใช้งานได้ฟรี เพียงแต่สมัครสมาชิกบนเว็บไซต์

Yakruay said...

เล่นแล้ว แตกจริง มีหลายอย่างให้เลือกเเล่นมากๆ สล็อตเว็บตรง รวมเกมน่าเล่นไว้ทุกค่าย มาใหม่ 2023 โดยรวมดี แอดมินบริการประทับใจ

Yakruay said...

แนะนำเว็บเดิมพันรูปแบบใหม่ 2023 ruay ลองรวย ลองลุ้นแตกสล็อต บาคาร่า เกมกีฬาเดิมพันต่างๆครบ จบในที่เดียว

F2C FURNITURE said...

Dalam era modern ini, industri furnitur telah mengalami perkembangan yang pesat, menciptakan peluang untuk inovasi desain dan kualitas yang lebih baik. Salah satu toko yang berhasil menonjol dalam industri ini adalah Toko f2c furniture

harperpaul said...

Each post is a captivating exploration of the latest trends in technology, art, design, and beyond. We'll delve into the minds of trailblazers, share stories of innovation, and provide insights into the processes that drive change. Whether you're an entrepreneur, artist, or simply someone with a curious mind, this blog promises to inspire, inform, and spark your own creative journey.
traffic lawyer chesterfield va

Omniklik said...
This comment has been removed by the author.
Omniklik said...

Inovasi dan kreativitas adalah kunci dari layanan yang ditawarkan oleh Omniklik.
Omniklik

Omniklik said...

Saya sangat puas dengan kualitas kerja yang ditunjukkan oleh MBD Kontraktor dalam proyek kami.
MBD Kontraktor