ELIXIR
-
Macro 101기술 동향 2022. 8. 8. 13:46
Basic terms Expression : 표현식, 코드 Represent : 코드를 표현하는 방식, AST consist of Three element tuples Quote : 인용, 특정 코드 덩어리의 Representation을 가져오는 것 Unquote : 인용하는 것이 아니라 Evaluation 된 코드 결과 Elixir는 이미 데이터 구조와 함수를 사용하여 간단하고 읽기 쉬운 방식으로 일상적인 코드를 작성할 수 있는 메커니즘을 제공합니다. 매크로는 최후의 수단으로만 사용해야 합니다. 명시적(explicit)이 암시적(implicit)보다 낫다는 것을 기억하십시오. Concise Code보다 Clear Code가 좋습니다. ·메타 프로그래밍의 첫번째 단계는 표현식이 어떻게 나타나는지를 이해하..
-
RabbitMQ ClusteringElixian의 Referenece 2020. 6. 18. 20:45
RabbitMQ는 Erlang으로 만든 Message Queuing Framework 이라고 할 수 있습니다. 공식 홈에 따르면 RabbitMQ는 다음과 같은 프로토콜을 지원합니다. Which protocols does RabbitMQ support? RabbitMQ supports several messaging protocols, directly and through the use of plugins. This page describes the supported protocols and helps differentiate between them. AMQP 0-9-1 and extensions RabbitMQ was originally developed to support AMQP 0-9-1. As s..