preview

History of Yolo

Better Essays
These processes can also be used to move deeper server side, such as protocol stacks, trace message logging, or even databases themselves. The way Erlang handles processes, means that these features can be derived with similarities in how they are handled. This leads to common patterns when programming in Erlang; which makes learning the language easier as you delve deeper into it. However, all these powerful processes will mean nothing without proper fault-tolerance built in. Luckily, Erlang also has this in spades. [9] Due to Erlang’s powerful concurrency being built into the language, it makes Erlang’s fault-tolerance simple and powerful. Erlang’s processes can actually monitor one another, allowing a process to recover another process in the event that software faults must be recovered from. This allows Erlang to put itself ahead of other languages, as Erlang’s complex architecture is capable of isolating errors, and guaranteeing nonstop operation. [9] As stated before, Erlang can be very useful when dealing with instant messaging, this can be taken one step farther; socket processing. Erlang is capable of handling network sockets, which is often interchangeable with the term internet socket. Erlang will be able to handle the data transmission between two sockets using powerful communications protocols. Down the road, a thoroughly distributed Erlang, could be the first step to handling sockets, and even remote machines. [9] Blockly, is based around behavioral, or more simply decentralized, programming. In other words, modules are created independently and are only linked during runtime. This style allows for earlier detection of errors, lends itself to a more natural programming syntax, and is focused on an incremental approa... ... middle of paper ... ..., however, creating a hello world program is far simpler. In fact, as far as I know, printing hello world in Blockly is as simplistic as possible. A few clicks, a few drags, and you can run the program and have it print out hello world to the user. This simplicity, on top of no installation (Blockly can be run entirely from a browser) makes Blockly an extremely easy language to start programming in. Next, a quicksort algorithm was implemented in both languages. Due to Blockly’s limited nature, the challenge would reside in creating a quicksort for this language; as such I borrowed Rosetta Code’s quicksort definition for Erlang. [13] In Erlang, the code is fairly straightforward once you understand the languages syntax. Module an export definitions have the same rules as hello world’s module and export, and even the function call definitions aren’t all too different.
Get Access