Live data from Hacker News

.NET framework ported to NetBSD

github.com

31–39 of 39 posts

Re: .NET framework ported to NetBSD

#31
post #23

Earlier quoted context omitted.

1. I was just curious if, by implementing the CLR, they have effectively implemented a VM for CIL in their OS, not if they reproduced Inferno. 3. My question was how close it came. In other words, what else would your OS need in order to be compatible with something like a cross-platform app created in Xamarin.

3) Not close at all. UWP and WPF are proprietary Windows technologies that rely on the Windows APIs. They're closed source so nobody really knows what they need. Cross platform Xamarin apps are different. Xamarin has its own GUI library wrappers but do not provide a cross platform library (or at least they didn't last time I checked. They'd need to create one for GTK/Qt/X/whatever and devs would have to write for it

You have Xwt for desktop applications. Xamarin Studio itself uses it: https://github.com/mono/xwt

Re: .NET framework ported to NetBSD

#32

Earlier quoted context omitted.

I was wondering "why NetBSD???", other than as a possible hobby project, but your explanation gives a pretty clear answer. I've never even heard of rump, and know little to nothing about NetBSD, but this sounds really, really interesting. In my spare time I'm writing a "fantasy console" (along the lines of pico-8) that will run in a framebuffer. I wonder if this would be a good fit.

Forget Docker, the future is unikernels! [0] I haven't gotten to play with them much, and the ecosystem is very, very young, but the idea of it all is very intriguing to me. [0] https://github.com/rumpkernel/rumprun

How can you compare a kernel application vs a process isolation layer? Containers will be adopted to dynamically load kernel modules and then we'll have dynamic "rump" kernels, but saying to forget Docker and the future is Unikernels, doesn't make a lot of sense technically.

Re: .NET framework ported to NetBSD

#33
post #22

Earlier quoted context omitted.

How is the rump kernel any different than a unikernel?

Think of rump kernels as a portable library of drivers with a well-specified API. What is unique about NetBSD is that they have been structuring their driver code on top of well-specified portable APIs inside the kernel (AFAIK beginning with bus_space in NetBSD 1.2 in 1996: http://netbsd.gw.com/cgi-bin/man-cgi?bus_space++NetBSD-curre... ). At first this was to increase portability by making it possible to write a sin…

Good information, thanks!

Re: .NET framework ported to NetBSD

#34
post #26

As a .NET developer, and lover of all things C#, I couldn't be more happy. There's always been that nagging feeling in the back of my mind that I'm pigeonholed with a language I can't easily use on other platforms (Mono's been around for a while and I've used it but I ran into a variety of problems the last time I targeted it[1]). "Officially" supporting alternative platforms gives me the opportunity to write code in…

IIRC there was a note taking app that was included with Ubuntu for a while. It was mainly removed to save the disk space (the target at the time was CD size), but there was a lot of negative feedback about it at the time.

Some of the negative feedback was deserved, but I think most of it was FUD. I tried to run Mono for some things earlier on, and it was just a lot of effort for things that worked so well in Windows at the time. I think the CoreCLR work and acquiring Xamarin definitely show some work in the right direction here.

I've been doing mostly node.js dev for the past few years, may consider .Net again... tbh, more interested in looking at Go for something though, as an excuse to learn. I do miss some niceties with VS though.

Re: .NET framework ported to NetBSD

#35
post #26

As a .NET developer, and lover of all things C#, I couldn't be more happy. There's always been that nagging feeling in the back of my mind that I'm pigeonholed with a language I can't easily use on other platforms (Mono's been around for a while and I've used it but I ran into a variety of problems the last time I targeted it[1]). "Officially" supporting alternative platforms gives me the opportunity to write code in…

IIRC there was a note taking app that was included with Ubuntu for a while. It was mainly removed to save the disk space (the target at the time was CD size), but there was a lot of negative feedback about it at the time. Some of the negative feedback was deserved, but I think most of it was FUD. I tried to run Mono for some things earlier on, and it was just a lot of effort for things that worked so well in Windows…

It wasn't just the note taking app. There was nearly a half-dozen mono-based applications included out of the box on Ubuntu in one brief "mono spring" in Ubuntu before the hate hit.

A particularly good example, I think, was the music app Banshee, which I thought was a much better application than what it replaced and what in turn replaced it in the Ubuntu default install.

Another example from that time was F-Spot, a photo library tool.

Apps built specifically for Mono, most of which were directly using Gnome's Gtk UI library (via the Gtk# bindings) were great apps. A lot of the hate really was just anti-Microsoft (and/or anti-Novell at the time) FUD. The fact that Mono had an on disk footprint about as much as Python was the useful tool in what was mostly (from my perspective) a useless debate.

Re: .NET framework ported to NetBSD

#36

Earlier quoted context omitted.

IIRC there was a note taking app that was included with Ubuntu for a while. It was mainly removed to save the disk space (the target at the time was CD size), but there was a lot of negative feedback about it at the time. Some of the negative feedback was deserved, but I think most of it was FUD. I tried to run Mono for some things earlier on, and it was just a lot of effort for things that worked so well in Windows…

It wasn't just the note taking app. There was nearly a half-dozen mono-based applications included out of the box on Ubuntu in one brief "mono spring" in Ubuntu before the hate hit. A particularly good example, I think, was the music app Banshee, which I thought was a much better application than what it replaced and what in turn replaced it in the Ubuntu default install. Another example from that time was F-Spot, a…

I had forgotten about the number of apps, I just remember the postit-note style app in particular. I agree, it was mostly anti-ms fud... but it was still close enough to some really questionable motions by MS that they deserved some of that criticism. I was pretty big into C# at that point, and really liked the work being done.

I was mostly doing web apps (still am) and that story wasn't nearly as good as the desktop side of things. I still feel that C# is a really great language, and the bindings to native methods from managed code are still the best I've worked with... far better than JNI and other tooling. Probably why it was such a great fit, and why GTK# works so well.

I never bought the "but microsoft will always be ahead" argument, as the gtk apps that worked under mono wouldn't magically stop working because .Net kept moving forward.

Re: .NET framework ported to NetBSD

#37
post #26

As a .NET developer, and lover of all things C#, I couldn't be more happy. There's always been that nagging feeling in the back of my mind that I'm pigeonholed with a language I can't easily use on other platforms (Mono's been around for a while and I've used it but I ran into a variety of problems the last time I targeted it[1]). "Officially" supporting alternative platforms gives me the opportunity to write code in…

IIRC there was a note taking app that was included with Ubuntu for a while. It was mainly removed to save the disk space (the target at the time was CD size), but there was a lot of negative feedback about it at the time. Some of the negative feedback was deserved, but I think most of it was FUD. I tried to run Mono for some things earlier on, and it was just a lot of effort for things that worked so well in Windows…

Ha - gotta say, I feel a little better knowing someone else had a hard time getting mono targeted code to work properly.

I can't remember what I ran into specifically, but I remember the usual StackOverflow/Google route for solving the problem yielded either nothing, or in the case of google, a bunch of forum posts with replies like "Well, the problem is you're targeting Mono and that's a terrible thing to do for [insert reason here]" so I gave up.

I'm firmly planted in the .Net camp developing software for Windows specific products, but I've been a C/C++ developer in the past and have begun the long process of modernizing my C++ background. It's always good to have a few languages to call upon when a problem presents itself, but it's ideal to have a core one that can be used in many places and if all goes well, that'll be my case in a bit. I thoroughly enjoy writing code in C#.

Re: .NET framework ported to NetBSD

#38

Earlier quoted context omitted.

IIRC there was a note taking app that was included with Ubuntu for a while. It was mainly removed to save the disk space (the target at the time was CD size), but there was a lot of negative feedback about it at the time. Some of the negative feedback was deserved, but I think most of it was FUD. I tried to run Mono for some things earlier on, and it was just a lot of effort for things that worked so well in Windows…

It wasn't just the note taking app. There was nearly a half-dozen mono-based applications included out of the box on Ubuntu in one brief "mono spring" in Ubuntu before the hate hit. A particularly good example, I think, was the music app Banshee, which I thought was a much better application than what it replaced and what in turn replaced it in the Ubuntu default install. Another example from that time was F-Spot, a…

There was a lot of concern over patents and control but I think the decline of Mono had a lot more to do with Novell going bust and developers disappearing.

Vala was an attempt to provide enough c# like features to provide an alternative and while it hasn't exploded in popularity it probably has filled the gap to some extent.

Re: .NET framework ported to NetBSD

#39
post #38

Earlier quoted context omitted.

It wasn't just the note taking app. There was nearly a half-dozen mono-based applications included out of the box on Ubuntu in one brief "mono spring" in Ubuntu before the hate hit. A particularly good example, I think, was the music app Banshee, which I thought was a much better application than what it replaced and what in turn replaced it in the Ubuntu default install. Another example from that time was F-Spot, a…

There was a lot of concern over patents and control but I think the decline of Mono had a lot more to do with Novell going bust and developers disappearing. Vala was an attempt to provide enough c# like features to provide an alternative and while it hasn't exploded in popularity it probably has filled the gap to some extent.

The concern about patents was sort of fair, but was as much a FUD red herring as anything else. There was the debate whether Microsoft's .NET open patent promise at the time applied to Mono in general or just OpenSUSE's distribution of Mono. In the time that the Ubuntu community spent debating that they could have done the simple thing that Red Hat did back then which was ask Microsoft to generalize the promise a bit more...

The issues of control were definite FUD, as Mono at the time was always an open source project first and foremost and it shouldn't have mattered that most of its contributors were Novell employees at the time or Xamarin employees when Novell divested itself of much of its open source development staff.

The "decline in Mono" in Ubuntu had everything to do with FUD. Arguably Mono itself has never really seen a decline, it's always been out there for the installation and usage. Even when priorities were focused elsewhere (because mobile efforts first at Novell and then at Xamarin paid the bills), Mono has seen stable development.

(Now you could say that Mono is in "decline" in today's world, but only because first Roslyn and now .NET Core have been supplanting Mono as cross-platform open source efforts for C#/.NET.)

As for Vala, I still don't understand why as a developer I'd ever want to write Vala rather than C#. Vala still seems like a strange choice to me. Why build a "Gnome-specific language" that isn't really useful outside of the bubble of Gtk?

Post reply on HN