recentpopularlog in

ianweatherhogg : context   22

Coeffects: Context-aware programming languages
Interactive essay that explains theory of coeffects and lets you type-check and run sample programs.
context  programming  language  data  flow  5* 
december 2016 by ianweatherhogg
The Neophyte's Guide to Scala Part 9: Promises and Futures in practice - Daniel Westheide
Sometimes, there is no NIO-based library available. For instance, most database drivers you’ll find in the Java world nowadays are using blocking IO. If you made a query to your database with such a driver in order to respond to a HTTP request, that call would be made on a web server thread. To avoid that, place all the code talking to the database inside a future block, like so

import concurrent.future
future {
scala  concurrency  idiom  promise  non  io  executor  context  5*  block 
april 2013 by ianweatherhogg
SIGUSR2 > Python Worlds
Last year, I was introduced to a paper via Lambda the Ultimate about worlds, a language construct which allows one to control the scope of side effects while programming. Worlds allow you to capture the current scope of a program in a first-class way. All
python  scheme  callcc  context  4*  functional  programming  side  continuation  animation 
april 2011 by ianweatherhogg
Environment Passing in Clojure
Ensuring correct bindings of clojure vars in different thread (contexts)
clojure  context  environment  3*  thread 
january 2011 by ianweatherhogg
Tsuna's blog: How long does it take to make a context switch?
Interesting article about measuring context switching in a Linux kernel
linux  context  test 
november 2010 by ianweatherhogg

Copy this bookmark:

to read