home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.linux.misc      Linux-specific topics not covered by oth      135,536 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 134,365 of 135,536   
   rbowman to All   
   Re: Naughty =?UTF-8?B?Q+KZrw==?=   
   05 Jan 26 03:55:00   
   
   XPost: alt.folklore.computers   
   From: bowman@montana.com   
      
   On Sun, 4 Jan 2026 19:04:14 -0500, c186282 wrote:   
      
   > On 1/4/26 16:18, Lawrence D’Oliveiro wrote:   
   >> On Sun, 04 Jan 2026 19:41:11 GMT, Charlie Gibbs wrote:   
   >>   
   >>> Does C# qualify as a Microsoft proprietary language? Or are there   
   >>> implementations on OSes other than Windows (and compilers, either open   
   >>> source or available from other vendors)?   
   >>   
   >> The only implementation I’m aware of is Microsoft’s one built on top of   
   >> Dotnet.   
   >>   
   >> Dotnet itself is supposedly open-source and portable to some degree   
   >> now. There are reports of it running on Linux.   
   >   
   >    That would be very end-around ...   
   >   
   >    Maybe just to forget C# ... CPP is good enough.   
   >   
   >    Actually, don't even like CPP ... plain 'C' has so far met all my   
   >    needs.   
      
   I was thinking about C++ on my walk today. Arduino sketches and other MCU   
   SDKs refer to C/C++.   
      
   #include    
   #include    
      
   #define led 12   
      
   RF24 radio(7, 8);   
   const byte addresses[][6] = {"00001", "00002"};   
   int angleValue = 0;   
   boolean buttonState = 0;   
      
      
   void setup() {   
     Serial.begin(9600);   
     radio.begin();   
     radio.openWritingPipe(addresses[1]);   
     radio.openReadingPipe(1, addresses[0]);   
     radio.setPALevel(RF24_PA_MIN);   
   }   
      
   Obviously when you instantiate the RF24 objects and start calling class   
   methods that will use parameters passed in to the constructor, you're in   
   C++ land. However for the most part it's 'C with Classes' and very seldom   
   has to get into the C++ esoterica.   
      
   Arduino simplifies it by magically creating setup() and loop()  without   
   the boilerplate.  The Pico SDK documentation talks about C/C++ but I   
   haven't seen C++ being used much in the examples.   
      
   Anyway C++ is handy in small doses.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca