Hacker Newsnew | past | comments | ask | show | jobs | submit | happyweasel's commentslogin

In the early 1990s, C++ had not yet been standardized by ISO, so your argument doesn’t apply to that period.

Let's see how this unwrap()s in production scnr


Oh come on, that was funny. It also highlights a problem with the way people write rust. If your app panics it has a bug. People throw panics in cases that can absolutely happen, a file isn't there or fails to parse, some set of inputs is mutually inconsistent these are things for error checking. Even if the correct way to handle an error you detect is to stop the app, do that instead of panicking. Panics are for things that should be impossible. Ideally they even get optimized out.


hmm how can I reuse this useful Go library in python... Oh I can't.. hmm and how can I reuse this useful java library in php ? Oh I can't. Oh and which of the programming languages you mentioned can and do use C libraries? All of them.

Reminds me of that coworker who thought that OpenCV was basically written in python.


I'm not claiming that there is no C or C++ out there. But it's such a nit pick when for most developers, no, their day-to-day work absolutely does not involve the creation of object files.

Sure, akshuwally, there are still C and C++ devs out there. Meanwhile a friend has just embarked upon a career as a pro COBOL developer. What of it?

Edit: Also, in the spirit of akshewally, I have just googled up this monster! My word, PHP and Java AND XML... it's like the unholy trinity of HackerNewsbane... https://php-java-bridge.sourceforge.net/pjb/


Looks genuinely useful. Bookmarking.


NativeAOT compiled C# library can create C compatible exports which can be used with any language that supports C libraries.


does your gtx 1060 help in any way for the NAS use case?


If you're running a media server (like Plex or Jellyfin) you can do hardware accelerated transcoding on the GPU.


>BUT there's another piece that makes or breaks these tools... whether they can >build a community around them and stick around for years...

Why ? who cares? if the tool solves the problem, you need a community maintain it. And that's it.


Oh, let me guess... The protests were organized by groups that get their funding from the NED or other Western sponsored NGOs ? (Asking for a friend)


No evidence of any of that. I don’t see how it’s incredible to believe students will flip out if you ban social media.

(Though the meme of all protests and civil discontent in Asia being the product of Western influence is a popular one among right-wing circles.)


> the meme of all protests and civil discontent in Asia being the product of Western influence is a popular one among right-wing circles

I listen to enough "right-wing circles" to end up getting people tarnishing me as one just for standing up for them (despite all kinds of progressive views) and I frankly don't know what you're talking about. My friends that tend to get interpreted as "right-coded" have historically been supportive of protest movements in Taiwan and Hong Kong.


In Asia.


I always wanted to check out https://qskinny.github.io/ it looks compelling and sticks to c++


vcpkg it


You can open an Issue on that on the repo (https://github.com/ZigRazor/CXXStateTree/issues) so we can track these changes.

Another idea is to create a Python binding with a release of a package


I share the same perspective .. I was also wondering how UDA handles the problem of evolving schemas, "old clients" communicating with newer server or vice versa.


>The truth is that although the AWS Load Balancer Controller is a fantastic piece >of software, it is surprisingly tricky to roll out releases without downtime.

20 years ago we used simple bash scripts using curl to do rest calls to take one host out of our load balancers, then scp to the host and shut down the app gracefully, and updated the app using scp again, then put it back into the load balancer after testing the host on its own. we had 4 or 5 scripts max, straightforward stuff..

They charge $$$ and you get downtime in this simple scenario ?


I used to work in this world, too. What is described here about EKS/K8s sounds tricky but it is actually pretty simple and quite a lot more standardized than what we all used to do. You have two health checks and using those, the app has total control over whether it’s serving traffic or not and gives the scheduler clear guidance about whether or not to restart it. You build it once (20 loc maybe) and then all your apps work the same way. We just have this in our cookie cutter repo.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: