Results 1 to 17 of 17

Thread: .NET native compiler (make programs that don't require framework)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Location
    US
    Posts
    64

    .NET native compiler (make programs that don't require framework)

    I was hangin out in the C# newsgroup and I found this post in a thread concerning the size of the framework:

    An alternative way is to simply develop everything in C#, then compile the app into native code without .NET dependency. We are working on such a tool (Salamander .NET Native Compiler), which links everything together and emits x86 machine code. It does not require .NET framework, but the file size will be much larger.

    Huihong
    http://www.remotesoft.com
    note: He mentions C# in this post, but there's no reason why it wouldn't work when compiled in any other language.

    I became extremely interrested in this. After exchanging several emails, I came to realize that this IS actually possible! It's not done yet, but he said the beta will be out in about a month (I'm a tester ).

    I am very impressed by his other software as well, and I wanted to plug his site. Check it out, there might be something you're interrested in: http://www.remotesoft.com
    I hope you're as impressed as I am!
    i have a computer.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    The .NET Framework , won't be the problem anymore , simply because it will be included in all the new OS MS is releasing (starting by Windows2003 Server) and it's part of Windows Update too .

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Location
    US
    Posts
    64
    Since the .NET framework was not included in Windows XP, I'd say the majority of Windows users still do not have it (I know a lot of people I know have never run the Windows update, because Windows works fine without it). Being about 20MB, the framework is still a huge inhibition for people who want to make just a simple tool, and to developers who are developing for Windows only.

  4. #4
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    Re: .NET native compiler (make programs that don't require framework)

    Originally posted by ctlajoie
    I was hangin out in the C# newsgroup and I found this post in a thread concerning the size of the framework:


    note: He mentions C# in this post, but there's no reason why it wouldn't work when compiled in any other language.

    I became extremely interrested in this. After exchanging several emails, I came to realize that this IS actually possible! It's not done yet, but he said the beta will be out in about a month (I'm a tester ).

    I am very impressed by his other software as well, and I wanted to plug his site. Check it out, there might be something you're interrested in: http://www.remotesoft.com
    I hope you're as impressed as I am!
    i dont think that you fully realised it but, if u dont have the framework you dont have any functions to program with
    (is the link broken? i cant open it )
    \m/\m/

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by PT Exorcist
    i dont think that you fully realised it but, if u dont have the framework you dont have any functions to program with
    (is the link broken? i cant open it )
    It seems you don't get it PT Exorcist . What this tech does it simply sum up all the functions used in your project and ship them in one file as I understood it .

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Location
    US
    Posts
    64
    Pirate hit the nail on the head. It 'takes' all the functions out of the framework and puts them into your compiled exe, so it no longer requires the framework.
    i have a computer.

  7. #7
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Ok, that is great, but you still need the CLR to JIT the assembly and manage garbage collection. You can JIT the assembly yourself and distribute it, eliminating it, but this 'technology' will have to implement the GC part or it would be worthless.

    It will be cool if someone gets it working....and working right.

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Location
    US
    Posts
    64
    You are correct hellswraith, he mentioned that the GC is one of the major parts of the project he's working on right now.

    it appears the site is down at the moment. Try again later, it was working great yesterday.
    i have a computer.

  9. #9
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    This new tech will divide .NET applications into two paths(who knows ) : One require .NET Framework , and one doesn't and who win is really determined by the statbility of this tech .

  10. #10
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Yes! I asked this question and everyone told me it was impossible. I never understood why you couldn't just take the functions out of the .NET to make native code. I hope this guy can do it, I'd LOVE to be a beta tester

  11. #11
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    The mono project is already taking the .net functions and creating open source implementations.

  12. #12
    Hyperactive Member
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    279
    I am very excited about Mono. I love the idea of OS freedom!

    But, it would also be nice to be able to compile the same applications into native code.

  13. #13
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by crpietschmann
    I am very excited about Mono. I love the idea of OS freedom!

    But, it would also be nice to be able to compile the same applications into native code.
    What the hell is with people today bumping old ass threads?

    I am a beta tester for salamander, currently it has a mini-deploy so I can create programs and deploy them with a miniture .NET framework, so the user doesn't have to install the framework and it usually ends up being only a couple of megs.

  14. #14
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    It seems like it would be feasible.

    But I suspect major sources of grief will come with garbage collection and possibly .Net framework security permissions.

  15. #15
    Lively Member
    Join Date
    Aug 2003
    Location
    When?!?!
    Posts
    108
    there are several reasons why I find this impossible. main globalization in the framework defines your exe as a win 32 application. if the globalization was cut down into small pieces of native code, your app will end up with millions and billions of errors.
    DannyJoumaa
    Advanced VB6 Programmer
    Intermediate-Advanced VB .NET Programmer
    Intermediate C# Programmer
    Intermediate Win32 Developer
    Beginner Mac OS X Developer
    Contact: [email protected]

    Favorite Sayings:
    "Every time you open your mouth, you prove your an idiot."
    "God is a programmer. Satan is a bug. Life is debugging."

  16. #16
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    I still say its all a wate of time. I doesnt take any effort to install the .NET framework. Just install it.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  17. #17
    Lively Member
    Join Date
    Oct 2003
    Posts
    88
    True enough that it's not really a great tradeoff - instead of an app that's ~400k, less compressed, you foist off on your user a couple of megs. Once a user has downloaded and played with 10 or so apps (whoever wrote them) they might as well have downloaded the whole framework anyhow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width