dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 3 of 3 FirstFirst 123
Results 31 to 36 of 36

Thread: Input wanted: 3rd Party Products

  1. #31
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,146

    Re: Input wanted: 3rd Party Products

    Quote Originally Posted by John E View Post
    But (importantly) C++ isn't among them - and I think the ones that do target those other OS's are the low power languages (which run via some kind of runtime interpreter).
    Yes, the world has evolved.

  2. #32
    Join Date
    Feb 2017
    Posts
    478

    Re: Input wanted: 3rd Party Products

    Quote Originally Posted by John E View Post
    ... the ones that do target those other OS's are the low power languages (which run via some kind of runtime interpreter).
    There is no such thing as a low power language because whether a language runs as compiled or interpreted is not a property of the language itself. All languages can be run both as compiled or interpreted.

    Furthermore, there are interpretators that effectively run compiled native code. They're called Just-In-Time (JIT) compilers and this is how both the Java Virtual Machine (JVM) and the Common Language Runtime (CLR) of .NET work.

    https://en.wikipedia.org/wiki/Just-in-time_compilation

    It means today all major languages are effectively compiled. For general applications it's no longer possible to claim that a compiled C++ program will perform better than the same program written in another language that runs on the JVM or the CLR. This is also why C++ is under pressure. It can no longer pull rank when it comes to efficiency. Other factors jump to the foreground when it's decided which language to use.
    Last edited by wolle; October 14th, 2019 at 01:57 AM.

  3. #33
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,570

    Re: Input wanted: 3rd Party Products

    Thanks wolle. Do any of you guys have experience with C++/CLI? Apparently it's a set of extensions which allow C++ code to be compiled to run under CLR and .NET (rather than being platform specific) and it's effectively a replacement for the now deprecated Managed C++.

    I'm guessing there must be limitations (maybe all the supporting DLLs need to use C++/CLI too?)
    "A problem well stated is a problem half solved. - Charles F. Kettering

  4. #34
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    6,900

    Re: Input wanted: 3rd Party Products

    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++17 Compiler: Microsoft VS2019 (16.3.9)

  5. #35
    Join Date
    Feb 2017
    Posts
    478

    Re: Input wanted: 3rd Party Products

    Quote Originally Posted by John E View Post
    Do any of you guys have experience with C++/CLI?
    Yes I evaluated C++/CLI for use in a new application many years ago as an alternative to C#. The idea was that it would allow me to write a proper Windows application for example using WPF for a GUI while still writing the internal core stuff in portable standard C++.

    The problem at that time was that almost no one seemed to be using C++/CLI. There wasn't much info about the language, not many examples, no developer community and no clear info about the direction of the language, so I decided against the idea.

    But it seems Microsoft is still supporting C++/CLI actively. This is the most recent info I could find,

    https://msft.today/the-future-of-c-cli-and-net-core-3/

    (Warning. Kaspersky told me this site is unsafe but I took a chance since it's Microsoft after all)

    I would carefully analyze every word in this article with a magnifying glass and make sure I fully understood every implication before committing to C++/CLI.
    Last edited by wolle; October 14th, 2019 at 12:59 AM.

  6. #36
    Join Date
    Feb 2018
    Posts
    1

    Re: Input wanted: 3rd Party Products

    Thank you so much for the commenters. IT really clear my all doubts.

Page 3 of 3 FirstFirst 123

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)