Quantcast
Channel: x += x++
Browsing latest articles
Browse All 30 View Live

Image may be NSFW.
Clik here to view.

LLite : language friendly literate programming

LLite : language friendly literate programming LLite : language friendly literate programming Luca Bolognese 22/11/2012 1 Main ideas 1.1 Unhappiness with existing tools 1.2 A different interpretation...

View Article



Image may be NSFW.
Clik here to view.

Funky C for literate programming

Funky C for literate programming Luca Bolognese 31/12/2012 1 Main ideas 2 Lack of tuples 3 Folding over arrays 4 Deallocating stuff 5 Discriminated unions 6 Main data structure 7 Tokenizer 8 Parser 9...

View Article

Image may be NSFW.
Clik here to view.

Exceptions vs. Return Values to represent errors (in F#) – IV – Implementation

The Critical monad is defined as follows. First there is the type that propagates through the monad: type Result<'a, 'b> = | Success of 'a | Failure of 'b Then we define the usual computation...

View Article

Image may be NSFW.
Clik here to view.

Functional programming in C

0.1 Discriminated unions in C 0.2 Nested functions and lambda variables 0.3 Automatic cleanup of local variables 0.4 Data structures 0.5 Wrapping up This post/program (as I’m writing it in literate...

View Article

Image may be NSFW.
Clik here to view.

Functional programming in C – Implementation

0.1 Cleanup 0.2 Lambdas 0.3 Unions 0.1 Cleanup Let’s start simple with the cleanup function. First we need the usual barrage of includes. G_BEGIN_DECLS allows the header to be linked in C++. #ifndef...

View Article


Image may be NSFW.
Clik here to view.

Building a stock alert system with Google Script

When I thought about it, I realized that my ideal system would be a spreadsheet where to add tickers and alert levels. Under the covers, the system would need to check the current price of a ticker,...

View Article

A Stack data structure implementation using Span

This Stack data structure can be used over memory that resides on the stack, heap or unmanaged heap. If you know about Span this should immediately make sense to you. Continue reading →

View Article

Stopping Garbage Collection in .NET Core 3.0 (part I)

The main idea is to use [ETW events](https://docs.microsoft.com/en-us/windows/desktop/etw/about-event-tracing) to detect when a GC occurs and to call an user provided delegate at that point. You can...

View Article


Stopping Garbage Collection in .NET Core 3.0 (part II)

Let’s see how it’s implemented. For why it is implemented, see Part I. The FxCop code analyzers get upset if I don’t declare this, which also impede me from using unsigned numeral types in interfaces....

View Article


My blog moved to www.lucabol.com …

I should have gotten my own domain name way earlier, but anyhow, here it is … http://www.lucabol.com  

View Article
Browsing latest articles
Browse All 30 View Live


Latest Images