I ve been working for several months on the next version of rtpmidid, and finally, it s time to unleash it. In brief, I rewrote the entire server itself and fixed some bugs in the librtpmidi library. The core of the changes in the server is to centralize all MIDI routing into a single object: the MIDI [ ] The post rtpmidid 23.12 released midirouter edition appeared first on Coralbits S.L. .
Normally not even I use the C bindings for onion. C is a great language to focus on algorithms and details, but for web development its too DIY. Normally to use Onion I use C++. The bindings are not 100% complete, but enough to make performant (space, size and speed) servers. As I use it [ ] The post Onion C++ Bindings best practices / patterns. pt. 1. appeared first on Coralbits S.L. .
TL;DR Onion python bindings are blazing fast! Introduction One of the points in making onion in C is to be able to easy create bindings to other programming languages. On onion main branch we already provide C++ bindings, which really improve a lot the onion experience. At https://github.com/krakjoe/ponion there is a prof of concept for [ ] The post Onion Python Bindings: Fastest python HTTP…
TL;DR The power of underscore.hpp With the use of underscore.hpp I was able to do a fairly simple, inefficient, and perfect for this place parser for ini files in just 12 lines. Its for sure less efficient that a hand crafted parser, as it reads a lot of data in memory and the starts slicing [ ] The post Twelve lines C++ INI parser appeared first on Coralbits S.L. .
Recently for Garlic I added a basic Cron class: User can add a cron-like schedule specification and a std::function to execute, and it will wait until next operation needs to be executed, and execute it.It involves many problems, but on this post I will talk just about how to know how many seconds the system has to wait [ ] The post C++ Cron Class Implementation appeared first on Coralbits S.L. .
Add some functional code to your C++! TL;DR Using underscore.hpp can save programming time and add memory requirements to your C++ projects. It allows easy list, string and file manipulation, using functional idioms. Introduction Why should C++ be more difficult to program than Python, curly braces and syntax apart. Granted with Python we have list comprehensions, [ ] The post Introducing…
In this article I will dissect the onion benchmark as used on the FameworkBench benchmark suite. The version I m dissecting is at http://bit.ly/18tdbOj. Some bugs were found in the benchmark code when writing this article and these are commented as they are spotted. The version used for the benchmark round 4 is as described in this article, bugs included, with the exception of the new fortunes…
Today a thought provoking benchmark was published at Hacker News: http://www.techempower.com/blog/2013/03/28/framework-benchmarks/. It compares several web frameworks and how they perform. How well does onion perform? I did a fast test program with onion to check how good is the performance compared to the other frameworks. The code is at https://gist.github.com/davidmoreno/5264730. Instructions…