Question

So I was thinking that it might be nice to be able to write an application in VB .NET (since it's easy to use and learn) and compile it to native code for faster execution (and so I don't have to worry about the .NET runtime being installed, and to prevent decompilation to MSIL -- I realize native code can be decompiled and such, but it isn't as easy as MSIL since it is quite easy to decompile MSIL to recognizable source code). A tool like this exists (http://www.remotesoft.com/linker/ ) but it costs $1249 for a license that allows 1 developer to use the tool, and $2219 for a license that allows 2 developers to use the tool.

I know that there is a free Delphi IDE called Lazarus... So I was thinking it wouldn't be too hard to write a program that converts simple programs to Object Pascal which can then be compiled to native code. Obviously it would be very difficult and time-consuming to re-write the whole .NET Framework, but basic stuff wouldn't be too hard.

Assuming I was able to accomplish this, would there be any market for this? I wouldn't really be looking to make much money; I'd probably sell the program for $0.99 just to help cover hosting costs.

Link to comment
https://www.neowin.net/forum/topic/1043201-could-this-be-done/
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Conversion between languages with brute force, statement by statement, would probably not be an overly complicated thing.

But why not use Lazarus to begin with? If basic functionality doesn't give you the things you need, there are many quality components and units (on Torry) that, afaik, can be converted with Lazarus itself and work well enough.

That said, there's always market for every crud if the marketer is good enough.

  • 0

Is there a market? Not really.

Your intended goal is to make it harder to reverse engineer MSIL compiled programs (C#, VB.NET, F#, etc.) and that capability already ships with Visual Studio in a light form (and has since .NET 1.0) via Dotfuscator Community Edition. There is a paid version of Dotfuscator too that supports more features as well.

So, there is a market for tools that can help a programmer to make reverse engineering his software harder, but there isn't a huge market for taking it through major hoops to get there. Obfuscation is pretty standard fare on .NET and Java (both are IL based platforms) for a reason (by using the same underlying framework and just doing alternations that don't affect the way the program actually executes you reduce your chance of introducing new bugs that are hard to find).

As a result, I would recommend you look at tools like Dotfuscator and see what you could realistically do better. But most devs won't want a language conversion then a recompile to be added to that process. As there are just too much room for new bugs that they aren't responsible for. Also, the "pain" of running the .NET Runtime have really subsided as Windows Vista and 7 ship with .NET out of the box. Users have no clue when an app uses the runtime and really don't care either way.

This topic is now closed to further replies.
  • Posts

    • hey buddy, i don't appreciate the attitude. Can't wait to see the results.
    • Marshall Major V Bluetooth headphones are now up to 47% off on Amazon by Ivan Jenic The Marshall Major V in Midnight Blue is currently $89.99 on Amazon, down from $169.99. That's 47% off and $80 saved on a pair of wireless on-ear headphones from one of the most recognizable names in audio. The Major V is Marshall's take on a long-lasting everyday headphone. The headphones deliver 100+ hours of wireless playtime, which puts them in a completely different category from most Bluetooth headphones that hover around 30-40 hours. You’re charging this thing once a week at most, and with wireless charging supported, you don’t have to worry about additional cables. Marshall promises its signature sound profile, with strong bass, smooth mids, and clear highs. There’s a customizable M-button, which you can set to quickly access Spotify Tap, your EQ settings, or a voice assistant. The design is foldable and lightweight at 186 grams, so it’s easy to pack for travel. And finally, the faux leather finish gives the Major V a sleek, premium look. At $89.99, the Major V Midnight Blue is a genuinely strong buy for anyone who wants a reliable daily headphone without paying premium prices. It’s also worth mentioning that the Cream and Brown variants are also discounted to $89.99, though from a lower original price of $99.99. Marshall Major V Midnight Blue - $89.99 | 47% off on Amazon This Amazon deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • +1 on XVI. I still use it. 
    • Age 16, old enough to get a full-time job, your own bank account, a passport, get married, even join the military and go to war. But talking to your friends on the internet? Oh hell no!
  • Recent Achievements

    • Reacting Well
      Almohandis earned a badge
      Reacting Well
    • First Post
      Cosminus earned a badge
      First Post
    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      482
    2. 2
      +Edouard
      185
    3. 3
      PsYcHoKiLLa
      122
    4. 4
      Steven P.
      84
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!