Anton Tayanovskyy's blog articles

0
comment
on 9/14/2012 9:57 AM
There is news on the faster F# Printf.* story. We released an alternative implementation as a package today. NuGet: IntelliFactory.Printf Source: https://bitbucket.org/IntelliFactory/printf Some background: F# Printf.* functions are a very nice interface for formatted printing, but the default implementation is quite slow, which is undesirable for production use (say, for logging inside a server). I believe the F# team is addressing this for their next release - and when it comes, it is going to be aw[...]
>> Read the full article
.
0
comment
on 7/19/2012 7:59 AM
There recently was an interesting SO question on F# Printf.* family of functions: http://stackoverflow.com/questions/11559440/how-to-manage-debug-printing-in-f It is known that these functions are very slow. Slow enough for most people to avoid them entirely, despite the advantages they offer in verifying argument types. What I did not know is that these functions are so slow that a few lines of simple user code can speed them up, without changing the interface: With this code I get from 2x to 10x [...]
>> Read the full article
.
0
comment
on 6/14/2012 8:21 AM
We have just released a new version (2.4.85) of WebSharper, our web development framework and F#-to-JavaScript compiler. The main highlight of this release is experimental support for easy cloud deployment of your applications with AppHarbor. Small AppHarbor deployments are currently free, which is great news for individual developers and small companies. How to get it to work: Set up a GitHub or Bitbucket repository Set up an AppHarbor account Connect the two, according to AppHarbor instructions, so th[...]
>> Read the full article
.
1
comment
on 5/25/2012 5:23 PM
Let me introduce BuildMagic: https://bitbucket.org/IntelliFactory/buildmagic - get 0.0.1 via NuGet Have you used NuGet? If not, you probably should - with aggressive backing from Microsoft, it's quickly converging to be the default package manager and binary repository for .NET, other similar projects now stand no chance (though they often have more technical merit). Have you used NuGet package restore? You probably should - pushing binaries into source control is wicked. Especially if you are using DVCS[...]
>> Read the full article
.
0
comment
on 4/28/2012 1:57 PM
To try out something different, I took a shot at writing a pretty-printing module. Of all the papers I found on the subject, perhaps the most accessible is A prettier printer by Wadler. In particular the algebra of documents presented in the paper is very simple and therefore compelling. I tried to implement these combinators in a OCaml. Unfortunately for OCaml, Wadler's code heavily relies on laziness for searching the exponentially large tree of possible printouts and selecting the optimal one by limite[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper