Visit site The Delphi Geek

June 2018

1
vote
Vote UpVote

Delphi - always full of surprises!

The Delphi Geek – After all these years, Delphi still surprises me. Apparently, as I found out today (by making a stupid typo), Copy(string, index, position) doesn't require position parameter!IOW, following two lines do exactly the same:s := Copy('123456789', 4, 6);s := Copy('123456789', 4);Works for arrays, too!Of ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2018-06-20 12:15

May 2018

1
vote
Vote UpVote

Introducing MultiBuilder

The Delphi Geek – When I'm working on OmniThreadLibrary, I have to keep backwards compatibility in mind. And man, is that hard! OmniThreadLibrary supports every Delphi from 2007 onward and that means lots of IFDEFs and some ugly hacks.Typically I develop new stuff on Berlin or Tokyo and then occasionally start a ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2018-05-20 21:46
0
votes
Vote UpVote

See you in Piacenza!

The Delphi Geek – It is now official - I'll be participating both as a seminar and as a conference speaker on Delphi Day 2018 in Piacenza. This is a new experience for me - I had quite some presentations in Italy so far and I know that Italians are both great participants and excellent hosts, but I was never part of ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2018-05-14 18:29

April 2018

3
votes
Vote UpVote

Multithreading is (still) hard!

The Delphi Geek – Multithreading is hard!No matter how long you deal with it and how good you (think) you are, you will make a mistake. Usually, it will be a problem that will only exhibit itself in a rare circumstances, most probably on a hard-to-reach customer machine. With some (bad) luck it will only appear on ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2018-04-25 13:00

March 2018

4
votes
Vote UpVote

Delphi High Performance

The Delphi Geek – My second book was also released these days. I wrote it for Packt Publishing, a publishing house which has recently started printing Delphi titles. The first was Delphi Cookbook by Daniele Teti, a very successful title that was followed by Delphi Cookbook - Second Edition by the same ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2018-03-02 12:24

February 2018

2
votes
Vote UpVote

Parallel Programming with OmniThreadLibrary - the book is here!

The Delphi Geek – My first book Parallel Programming with OmniThreadLibrary is finally out!The book covers OmniThreadLibrary version 3.07.5 which was also released today.As this book was always meant to be documentation for the OmniThreadLibrary, my job doesn't end here. I will update and enhance the e-book ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2018-02-28 23:35
2
votes
Vote UpVote

OmniThreadLibrary 3.07.5

The Delphi Geek – OmniThreadLibrary 3.07.5 has been released. You can get it at GitHub or download the ZIP.There are only small number of changes in this release.General improvementsReduced number of times NameThreadForDebugging is called when threadpool is used.Bug fixes[VyPu] fixed race condition in ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2018-02-28 22:59
0
votes
Vote UpVote

Data-driven Multithreading

The Delphi Geek – About a week ago, Craig Chapman posted a vlog Lockless Multi-Threading in Delphi where he programmed a lockless communication channel which transfers messages between the main thread and a worker thread (or, actually, between any two threads).I do like Craig's implementation of a lockless queue. It ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2018-02-13 23:08
4
votes
Vote UpVote

Books, wonderful books!

The Delphi Geek – I love reading. I loved it since the (very) young days. As far as I remember, books were my friends.I also love - as I somewhat surprisingly discovered in my twenties - teaching and writing. I always kept to the short form - blog posts, magazine articles, and so on. Always - until few years ago I ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2018-02-03 14:38

December 2017

1
vote
Vote UpVote

Spring4D presentation slides and more

The Delphi Geek – Slides and code for my Spring4D presentation are now online on the Presentations page.And to the participants of the workshop, here's the answer I promised.If you want to catch all calls to some function while mocking, you can pass in Arg.IsAny (or call some other function of the TArg type, ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2017-12-08 17:02
0
votes
Vote UpVote

Advent of Code

The Delphi Geek – Last few days I'm having great fun solving problems from Advent of Code 2017 page and so does my daughter (with a bit of help from her dad). I'm using Delphi and she Python so that's also a good practice to brush my multilanguage skills ;)Go ahead, take a look at the problems. Some are simple, some ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2017-12-04 17:47
0
votes
Vote UpVote

In the middle of winter, Spring comes to Ljubljana

The Delphi Geek – Indeed, it is snowing for the last three days. Not much, but winter is definitely here.To add some green to the white surroundings we'll spend the next Friday talking about spring. Or, actually Spring. For Delphi. Also known as Spring4D - definitely the best Delphi collection of programming goodies ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2017-12-01 09:55

November 2017

0
votes
Vote UpVote

Writing a Simple DSL Compiler with Delphi [7. AST Compiler]

The Delphi Geek – This article provides a description of an AST compiler used for my toy language project. If you are new to this series, I would recommend to start reading with this post. At least you should read the previous post, Intermezzo, as it explains some parts of the compiler that I won't touch here.Please ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2017-11-05 18:34

October 2017

1
vote
Vote UpVote

OmniThreadLibrary 3.07.4 has been released

The Delphi Geek – Bug fixes:TOmniEnumeratorProvider and TOmniValueEnumeratorProvider support dmoPreserveOrder option. Now you can use PreserveOrder modifier on Parallel.ForEach when input is IEnumerable, IEnumerator, TEnumerator, or TEnumerable.Fixed 64-bit issues in DSiWin32, GpLists, GpStringHash, and ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2017-10-19 17:27
0
votes
Vote UpVote

Writing a Simple DSL Compiler with Delphi [Intermezzo]

The Delphi Geek – When I was preparing an article about the compiler part of my toy language project, I found out that the concept of wrapping a whole program into a bunch of anonymous functions (what the compiler does) is exceedingly hard to explain. I had therefore prepare a simplified version of the compiler, ...
Details Favorite? Off-Topic? Primož Gabrijelčič @ 2017-10-17 18:37
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)