jbevain

Joined 15 years ago

Karma
480
Submissions
28
Member since
May 6
Engineering manager at Microsoft, running the Visual Studio Tools for Unity experience.

Founded SyntaxTree a developer tools company doing UnityVS, acquired by Microsoft.

Author of Mono.Cecil and other .net niceties.

Long time Mono contributor, former member of the Mono team at Novell.

* http://github.com/jbevain * http://syntaxtree.com * http://unityvs.com

View on Hacker News

Recent submissions

Comment · 9 years ago
Fun fact, the Mono Linker project started 10 years ago during the second edition of the Google Summer of Code!

It was originally used to reshape the entire Mono class library into a subset to expose the Silverlight class library API surface for Moonlight.

It was then used to link iOS and Android applications in MonoTouch and Mono for Android, and Xamarin continued to use and improve it.

The Mono Linker has an open architecture making it reasonably easy to customize how it processes code , and detect patterns specific to each platform to link them away. Xamarin added linker steps to do more than tree-shaking, and remove dead code inside methods. For instance:

  if (TargetPlatform.Architecture == Architecture.X64) {
    // ..
  }
The entire if body can be removed if the linker knows that TargetPlatform.Architecture will not be X64.

And now, it's the base for the .NET Core linker. Quite a journey!

Comment · 11 years ago
Thanks! Looking forward to reading the next posts in the series!
Comment · 11 years ago
Comment · 11 years ago
Comment · 11 years ago
Comment · 12 years ago
Unity runs on a custom Mono 2.6.5 with some fixes cherry picked from Mono 2.10.
Comment · 12 years ago
CIL - just like the LLVM IR - if human readable, is not really meant to be written by hand, unlike Java. Not sure what you mean here.
Comment · 12 years ago
It's pretty cool to see .NET catching up with Mono on that front ;)

Fun fact, MonoTouch applications are built with a very similar pipeline, except that LLVM does the compilation in the end.

The steps 4 and 5 in the blog post map quite exactly to the Mono.Linker and the Mono.Tuner. Both tools are using a XML file format for whitelisting pieces of code that need to be included, that's useful if you're calling code with reflection at runtime which is not statically discoverable at build time.

Comment · 12 years ago
I've been using this since the beta. The entire code of my startup is on GitHub so it really helps to be able to monitor and triage incoming changes quickly.

The app itself is still missing some things for my particular workflow: I'd like to have visibility on incoming code that's not part of pull requests. Like simple pushes to branches.

I'd also have the possibility to unsubscribe from repos directly from the app.

Comment · 13 years ago
Comment · 13 years ago
> It is my company, my private property. I should be able to do as I please with it as long as don't mess with other's freedom, this is a constitutional right in the declaration of human rights, private property is sacred.

No you should not, and no, that's really not what the declaration of human rights is about.

When you create a french company your create a “personne morale”, a legal entity, an entity on its own, that is viewed more like a living entity and not like an inanimate object. You do have rights on this entity, but you do also have obligations, not the least of which is to follow the law.

So no, just because you want to you can't employ underage kids for instance.

And just because you want, you can't just fire people at will without reasons.

One could argue that laws could be improved, but that's really not the point you're making.

Comment · 13 years ago
It was “A guy called Vasili Arkhipov saved the world”, a quote from a former NSA director, taken from the first paragraph of the article.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton