Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: syntax Clear Filter

API Blueprint

API Blueprint. A powerful high-level API description language for web APIs. API Blueprint is simple and accessible to everybody involved in the API lifecycle. Its syntax is concise yet expressive. With API Blueprint you can quickly design and prototype APIs to be created or document and test already deployed mission-critical APIs. Tutorial Tools section # GET /message + Response 200 (text/plain) Hello World! Focused on Collaboration API Blueprint is built to encourage dialogue and collabora

Writing Micro Compiler in OCaml (2014)

TL;DR Writing micro compiler in OCaml At one point or another every single software developer in the world comes to a realization in his career when the time is ripe and it’s time to write your own super cool programming language. However the subject of creating your own programming language with an compiler is quite a complex one and can’t be tackled without some pre-research. That’s how I’ve started reading Crafting Compiler in C, an aged but really comprehensive book about developing your o

Clj-coll: Clojure collections and sequences in Common Lisp

CLJ-COLL: looks like Clojure, tastes like Common Lisp! This is a Common Lisp implementation of Clojure's APIs for collections, seqs, and lazy-seqs. It provides immutable Cons, Queue, PersistentList, capabilities as well as Vector, Set, and Map analogues built on FSet (but accessed entirely via Clojure APIs). CLJ-COLL is intended to give a "most naturally integrated" experience of Clojure APIs and immutable data structures within a Common Lisp environment, and to make Common Lisp more approacha

Speeding up my ZSH shell

Super quick one I want to document here! I got myself on a side quest, again! No biggie, my ZSH shell was taking ages to load. When I say ages, more like 5+ seconds every time I opened a new terminal, that sort of thing can add up. This is just something I’ve lived with over the years, nothing has prompted this other than me wondering why it’s slow, then searching for how to profile it. So, what’s actually slowing things down? Zsh comes with this super handy profiling tool called zprof . Here’s

Subtype Inference by Example

In recent years, there has been increasing interest in tools and programming languages that can automatically detect common types of bugs, in order to improve product quality and programmer productivity. Most commonly, this is done via static type systems, but traditional static type systems require large amounts of manual annotation by programmers, making them difficult to work with. Therefore, modern programming languages make increasing use of type inference, which provides the same benefits