Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 66

Thread: Socks V4

  1. #21
    Join Date
    Sep 2004
    Posts
    1,905
    Rep Power
    21

    Default

    I believe that C# has as much potential of being as fast as C and C++ when multi-core development is more widespread and also when the compiler of C# code becomes more developed, given about 15 years. Automatic optimization would be improved in the compiler. It would act on high level code. Take multi-threading for example; a C# developer could create a HD DVD converter program where the compiler automatically parallelizes the code for a multi-core processor.

    Automatic optimization will not be perfect. It would be difficult to fix code from high level straight down to the lowest level; however it may do a little optimization at the lowest assemble- instruction-level just like writing good C code.

    Though it is possible to optimize C code from the big picture by rewriting the code and taking due considerations of the entire organization, it could be very difficult, I am guessing, so C optimization will lack at a higher level while C# will lack at the lower level. In my opinion, C# performance will definitely improve and take advantage of future hardware, but I would like to see both C# and C being used in one application to give it the maximum optimization possible, especially since C# has a while before its optimization is developed and it may prove too difficult to ever optimize at the low level.
    Last edited by crosswire; Apr 26, 2005 at 08:55 PM.
    Let's act on what we agree on now, and argue later on what we don't.
    Black men leave Barbeque alone if Barbeque don't trouble you

  2. #22
    Join Date
    Oct 2004
    Posts
    4,814
    Rep Power
    24

    Default

    but I would like to see both C# and C being used in one application to give it the maximum optimization possible, especially since C# has a while before its optimization is developed and it may prove too difficult to ever optimize at the low level.
    C# can invoke methods from dll's written and compiled in C or C++. So if you want to that could be done.

  3. #23
    Join Date
    Oct 2004
    Posts
    4,814
    Rep Power
    24

    Default

    LOL.. the socks proxy works like a charm. I love programming!!

  4. #24
    Join Date
    Jan 2005
    Posts
    3,151
    Rep Power
    0

    Default

    you are a programmer by profession?

  5. #25
    Join Date
    Sep 2002
    Posts
    3,270
    Rep Power
    0

    Default

    Quote Originally Posted by pogi_2nr
    Try to think outside of the box.
    Regards,
    Pogi Tuner.

    If irony could kill.
    Those who do not understand UNIX are doomed to reinvent it poorly.

  6. #26
    Join Date
    Jan 2005
    Posts
    3,151
    Rep Power
    0

    Default

    Quote Originally Posted by Gillion
    If irony could kill.
    I would love to know what the wise old owl thinks of me. Do share some more!

    Regards,
    Pogi Tuner.

  7. #27
    Join Date
    Sep 2002
    Posts
    3,270
    Rep Power
    0

    Default

    Quote Originally Posted by pogi_2nr
    I would love to know what the wise old owl thinks of me. Do share some more!

    Regards,
    Pogi Tuner.
    Read your posts #2 and #4 and see the continum.
    no wait let me get them for you ...

    Post #2
    Big lame.. big O

    C# offends me, especially for networking code. One should always go back to basics

    for that and stick with C, not C++ and not C dull.

    Regards,
    Pogi Tuner.
    Post #4
    I am not sure, I am just old school maybe.. everything new offends me

    C just has the fastest, most efficient, implementation of network code.

    Regards,
    Pogi Tuner.
    You then go on to say....

    Try to think outside of the box.
    at which point I just keeled over.
    Those who do not understand UNIX are doomed to reinvent it poorly.

  8. #28
    Join Date
    Jan 2005
    Posts
    3,151
    Rep Power
    0

    Default

    You do raise a good point there.. in that case I looked outside the box and didnt like what
    I saw so I went right back inside, but I realized that our friend leoandru never looked outside
    of his box and was only thinking about what he knew and was accustomed to.
    Quote Originally Posted by me
    everything new offends me
    heh, maybe I should not have said that.. but I can not deny the truth.

    Regards,
    Pogi Tuner.

  9. #29
    Join Date
    Oct 2004
    Posts
    4,814
    Rep Power
    24

    Default

    Quote Originally Posted by pogi_2nr
    you are a programmer by profession?
    Yes im a programmer by profession! Why do u ask?

  10. #30
    Join Date
    Sep 2004
    Posts
    1,905
    Rep Power
    21

    Default

    Just did my likkle research on C# and I say that it is quite easy to make windows application when I learn how to use it. I am comparing it to VC++.

    The only issue I have with it is a performance one. Layers or interfaces on top of interfaces are CPU enpensive.

    However, this is the cost of it being easier to use and have a wide windows library.

    Other factors that just need an experience C# programer to improve performance are a bit technical like:
    * using alot of value types vs using a lot of reference types
    * boxing and unboxing (casting between the two types)
    * understanding the performance of the memory management system

    Learning it it difficult, but using it is easy. C# needs to be understood in order to get the maximum performance so I am off to do more research. Last note : C# rocks for windows development, even games I download Tetris 3d in C#
    Let's act on what we agree on now, and argue later on what we don't.
    Black men leave Barbeque alone if Barbeque don't trouble you

Posting Permissions

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