• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

.NET Core Real Contractor Challenge

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    .NET Core Real Contractor Challenge

    If you don't know what .NET Core then this thread isn't for you.

    If you can't hack it in C/C++ then this thread isn't for you.

    If you can't hack codegeration of JIT then this thread isn't for you.

    Here is the challenge: add C/C++ equivalent of asm { } keyword to C#. Should be easy for a real pro.

    Can you do it? If so how much time/money it will take.

    #2
    Originally posted by AtW View Post
    If you don't know what .NET Core then this thread isn't for you.

    If you can't hack it in C/C++ then this thread isn't for you.

    If you can't hack codegeration of JIT then this thread isn't for you.

    Here is the challenge: add C/C++ equivalent of asm { } keyword to C#. Should be easy for a real pro.

    Can you do it? If so how much time/money it will take.
    10 years later, and you are still using the wrong tools for the job.

    Oh Dear™

    Comment


      #3
      Originally posted by DimPrawn View Post
      10 years later, and you are still using the wrong tools for the job. Oh Dear™
      Yeah, I should have used VB6, then I'd be able to use PEEK and POKE to write machine code

      Comment


        #4
        What's this, a script kiddie thread
        Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

        Comment


          #5
          Originally posted by AtW View Post
          If you don't know what .NET Core then this thread isn't for you.

          If you can't hack it in C/C++ then this thread isn't for you.

          If you can't hack codegeration of JIT then this thread isn't for you.

          Here is the challenge: add C/C++ equivalent of asm { } keyword to C#. Should be easy for a real pro.

          Can you do it? If so how much time/money it will take.
          It sounds pretty easy, I'm rather concerned for your mental welfare for asking such a ridiculously easy question.

          Comment


            #6
            Originally posted by woohoo View Post
            It sounds pretty easy, I'm rather concerned for your mental welfare for asking such a ridiculously easy question.
            Can you do it?

            Comment


              #7
              Originally posted by AtW View Post
              Can you do it?
              Try using a decent search engine!!!!

              Not found using Majestic-12
              Old Greg - In search of acceptance since Mar 2007. Hoping each leap will be his last.

              Comment


                #8
                Originally posted by AtW View Post
                Can you do it?
                Yep, create a byte array with the assembler instructions, copy to area of executable memory
                (virtualallocex). Next, create a delegate then get a function pointer for the assembler code bytes.

                Call the delegate.

                Tidy up.

                Comment


                  #9
                  Learn UWP, and future proof your self

                  Sent from my 5045X using Tapatalk

                  Comment


                    #10
                    Your plan worked AtW, this thread was significantly cheaper than paying for training to up-skill one of your employees to fix the problem
                    Originally posted by Old Greg
                    I admit I'm just a lazy, lying cretinous hypocrite and must be going deaf
                    ♕Keep calm & carry on♕

                    Comment

                    Working...
                    X