Remove c
article thumbnail

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

DZone

As a Software Engineer, the mind is trained to seek optimizations in every aspect of development and ooze out every bit of available CPU Resource to deliver a performing application. Recently, I spent some time checking on the Performance (not a very detailed study) of the various programming languages. 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

Trip report: Winter ISO C++ standards meeting (Prague)

Sutter's Mill

A few minutes ago, the ISO C++ committee completed its final meeting of C++20 in Prague, Czech Republic. ISO C++ committee in Prague, on the occasion of completing C++20 (February 2020) C++20 is done! Per our published C++20 schedule , we finished technical work on C++20 at this meeting.

C++ 98
article thumbnail

Fundamentals of table expressions, Part 5 – CTEs, logical considerations

SQL Performance

What’s different about the design of CTEs compared to derived tables is where in the code these three elements are located. However, there are very few cases in T-SQL where without a terminator the code is ambiguous. The elements are sort of intertwined. In those cases, the termination is mandatory. Incorrect syntax near 'UC'.

C++ 140
article thumbnail

T-SQL Windowing Improvements in SQL Server 2022

SQL Performance

This clause allows you to shorten your code by avoiding the repetition of identical parts of your window specifications. As an example where the WINDOW clause can be handy in shortening your code, consider the following query: USE TSQLV6 ; SELECT orderid , custid , orderdate , qty , val , SUM ( qty ) OVER ( PARTITION BY custid.

Servers 145
article thumbnail

Number series generator challenge solutions – Part 1

SQL Performance

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. L0 AS ( SELECT 1 AS c. Here’s the function’s definition: CREATE OR ALTER FUNCTION dbo.

C++ 113
article thumbnail

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

SQL Performance

I’ll present the performance tests that I’ve done with my solution. What’s the best performing solution that you can conjure? To evaluate the performance of your solution and compare it with others, I’ll test it with the range 1 through 100,000,000, with Discard results after execution enabled in SSMS. So, the challenge is on!

C++ 114