Remove c
article thumbnail

SKP's Java/Java EE Gotchas: Clash of the Titans, C++ vs. Java!

DZone

This begins not only in designing the algorithm or coming out with efficient and robust architecture but right onto the choice of programming language. The legacy languages — be it ASM or C still rule in terms of performance. C++ SOLUTION (Will Be Uploaded Later). These include Python, PHP, Perl, and Ruby. Ahem, Slow!

Java 207
article thumbnail

C++ safety, in context

Sutter's Mill

To talk about C++’s current safety problems and solutions well, I need to include the context of the broad landscape of security and safety threats facing all software. Many of the most damaging recent security breaches happened to code written in MSLs (e.g., tl;dr: I don’t want C++ to limit what I can express efficiently.

C++ 139
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

cppfront: Spring update

Sutter's Mill

This update covers Acknowledgments, and highlights of what’s new in the compiler and language since last time, including: simple, mathematically safe, and efficient chained comparisons named break and continue “simple and safe” starts with. In today’s C++, this kind of comparison silently compiles but is a bug.

C++ 97
article thumbnail

Building High-Quality Software

DZone

It sits at the very beginning of the process before the code is written and can save an immense amount of time down the road (of somebody spending tons of time just to get to a dead-end). I really like what one of the smartest people with whom I worked said: “A good design is a design where you can see the code”. Important note.

Software 245
article thumbnail

Black Hat 2023: Pairing causal AI and generative AI for cybersecurity threats

Dynatrace

Developers use generative AI to find errors in code and automatically document their code. They can also use generative AI for cybersecurity, write prototype code, and implement complex software systems. Visit our booth, number #2608, at Black Hat and c heck out our guide below. Here’s what you need to know.

DevOps 187
article thumbnail

Number series generator challenge solutions – Part 1

SQL Performance

Last month I posted a challenge to create an efficient number series generator. Here’s the code to create the dummy table: CREATE TABLE dbo. BatchMe ( col1 INT NOT NULL , INDEX idx_cs CLUSTERED COLUMNSTORE ) ; And here’s the code defining the dbo.GetNumsItzikBatch function: CREATE OR ALTER FUNCTION dbo. BatchMe ON 1 = 0.

C++ 113
article thumbnail

The challenge is on! Community call for creating the fastest number series generator

SQL Performance

Use the following code to run a test with base CTE cardinality of 2 (requires 5 additional levels of CTEs): DECLARE @low AS BIGINT = 1 , @high AS BIGINT = 100000000 ; WITH. Make sure that you enable Discard results after execution in your SSMS Query Options dialog under Grid, Results.

C++ 114