We have extended our JSON and BSON library with functionality to query JSON documents using an XPath-like query language called JSONPath. About JSONPath JSONPath is to JSON what XPath is to XML. It enables you to search for data in a JSON document using a simple query language somewhat similar to XPath. Although there is… Continue reading Query JSON documents with JSONPath
There is a lack of information available on building highly scalable UDP servers on the Internet. What information exists, often falls short of best practices. UDP servers are the central backbone of many video game servers and streaming services, but very few good examples or discussions exist on how to construct them on Windows and Linux. This article… Continue reading Creating high-performance UDP servers on Windows and Linux
Here at Grijjy we are very excited about the announcement of the Delphi Community Edition. This new version lowers the entry point for new Delphi developers to $0 and still provides all the capabilities of the Professional edition while allowing developers to target both mobile and desktop platforms for commercial products. Delphi has a lot… Continue reading Delphi Community Edition, finally!
In my previous post on libclang for Delphi, I mentioned an obvious use case for libclang: to build a (better) C-to-Pascal header converter. I also suggested I may provide such a tool in the future. Well, the future is here and I put my money where my mouth is. The result is Chet, a sort of… Continue reading Chet – A C Header Translator powered by Clang
You are probably already familiar with the NSTimer on iOS/macOS and JTimer on Android for timer events. In addition to the basic timers, most operating systems offer a more advanced threaded schedule event API. On Android there is the ScheduledThreadPoolExecutor which allows you to launch a Runnable at a specific time period. On iOS/macOS the… Continue reading Using Apple’s Grand Central Dispatch and Android’s ScheduledThreadPoolExecutor for Delphi timers
You may know Clang as a compiler for the C family of languages. But is a library too; one that you can also use from Delphi to create tools to work with C(++) and Objective-C code. Tools such as header translators or C-to-Pascal converters. About libclang Clang is a C based language front-end for the… Continue reading libclang for Delphi