Remove c

Step-by-Step Instructions To Extend C: Drive on Windows 10 (2021)

DZone

When the C: drive runs out of space, it turns red and your system constantly sends messages for insufficient disk space on the local disk (C:). To get rid of it, it is suggested to increase the C: drive partition size on Windows 10.

C++ 207

MongoDB SSL with self-signed certificates in C#

Scalegrid

In this blog post, we show you two methods to securely connect to a MongoDB server configured with self-signed certificates for SSL, using the official C# MongoDB driver. How to Connect MongoDB SSL to your C# Application Click To Tweet.

C++ 174
Insiders

Sign Up for our Newsletter

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

The Pitfalls in C++ Unit Testing

DZone

Recently there has been a surge of interest in C++ unit testing. C++ unit testing has not been common in C++ development in the past. Although C++ is a kind of programming language that fits well with unit testing, several complexities require extra care.

C++ 144

C# Errors by Example: Checking the DotNetNuke CMS

DZone

Today, we discuss C# code quality and a variety of errors by the example of CMS DotNetNuke. DotNetNuke is an open-source content management system (CMS) written mainly in C#. We're going to dig into its source code. You're going to need a cup of coffee. DotNetNuke.

C++ 134

Selenium C# Tutorial: Handling Multiple Browser Windows

DZone

performance c# csharp selenium automation selenium automated testing automation testing tutorialA common scenario in a website (or web application) is opening up a new browser (or tab) on the click of a button.

C++ 142

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

DZone

The legacy languages — be it ASM or C still rule in terms of performance. Considering all aspects and needs of current enterprise development, it is C++ and Java which outscore the other in terms of speed. C++ SOLUTION (Will Be Uploaded Later). performance c++ programming languages core java computing computer hardware programming & design complexity metrics optimization and algorithmic aspects platform independence

Java 158

Overview of C# Async Programming With Thread Pools and Task Parallel Library

DZone

So, this circumstance led me to write this blog-post to go through the underlying foundations and features of threads and thread pools: threads threads coordination async await threadpool c# 7I recently found myself explaining the concept of thread and thread pools to my team.

C++ 184

f() vs f(void) in C vs C++

Nick Desaulniers

Prefer f(void) in C to potentially save a 1B instruction per function call when targeting x86_64 as a micro-optimization. Doesn’t matter for C++. While messing around with some C code in godbolt Compiler Explorer , I kept noticing a particular funny case. For example, the following C code: 1. eax being x86_64’s return register for the C ABI should be treated as call clobbered. Unfortunately, in C the answer is no, and C and C++ differ here.

C++ 87

Additional C/C++ Tooling

Nick Desaulniers

21st Century C by Ben Klemens. There are a few other useful tools that came to mind that I’ve used when working with C and C++ codebases. C & C++ codebases; running these tools on the code or adding them to the codebases. From my experience working with Emscripten , we recommend the use of CMake for people writing portable C/C++ programs. I think C++ needs a package manager badly , and I think CMake would be a solid foundation for one.

C++ 63

A Faster, Lightweight Trigger Function in C for PostgreSQL

DZone

We have been writing blog posts about how to write simple extensions in C language and a little more complex one by Ibrar which were well received by PostgreSQL user community. We were discussing how simple/lightweight and faster a trigger function is when written in C. performance c postgressqlThen we observed that many PostgreSQL users create simple triggers for small auditing requirements, and then feel the pain of trigger on transactions.

C++ 100

Improving Print Logging With Line Pos Info and Modern C++

DZone

performance c++ logging debugging line pos info print logging variadic templatesNo matter how proficient you are, I think, you might still use one of the primary methods of debugging: trace values using printf , TRACE , outputDebugString , etc… and then scan the output while debugging. Adding information about the line number and the file where the log message comes from is a very efficient method that might save you a lot of time.

C++ 100

How to drop tables for HammerDB TPC-C on SQL Server

n0derunner

DISTRICT] DROP … The post How to drop tables for HammerDB TPC-C on SQL Server appeared first on n0derunner. SQL Server Workloads & Benchmarks hammerDB sqlserver tpc-cFrom the SQL Window of SQL*Server. Issue these commands to drop the tables and procedures created by HammerDB. This will allow you (for instance) to re-create the database, or create a new database with more warehouses (larger size) while retaining the same name/DB layout. USE [TPCC] DROP TABLE [dbo].

C++ 40

C++ Libraries: Casablanca

Sutter's Mill

At GoingNative in February , I emphasized the need for more modern and portable C++ libraries, including for things like RESTful web/cloud services, HTTP, JSON, and more. The goal is to find or develop modern C++ libraries that leverage C++11 features, and then submit the best for standardization. and Erlang users also to C++ developers on our local and cloud platforms, including modern C++ libraries for REST, HTTP, and JSON.

C++ 56

My C++ and Beyond Intro: C++ Renaissance

Sutter's Mill

Channel 9 has just posted a recording of my intro talk at C++ and Beyond 2011 last month in Banff. Here’s the link: C++ and Beyond 2011: Why C++. The goal is to share a perspective and rationale for why of late there’s such a resurgence of interest in C++ — both across the industry, and within Microsoft. NET C++ Java Microsoft Software Development

C++ 40

HammerDB v4.0 New Features Pt1: TPROC-C & TPROC-H

HammerDB

compared to previous releases is that the workload names have changed from TPC-C and TPC-H to TPROC-C and TPROC-H respectively and therefore a key question is how are the v4.0 The simple answer is nothing, the workloads are exactly the same workloads derived from the TPC-C and TPC-H specifications and HammerDB v4.0 For example HammerDB has not used tpmC terminology to report TPC-C based metrics instead using TPM and NOPM nomenclature.

C++ 40

Facebook Folly – OSS C++ Libraries

Sutter's Mill

I’ve been beating the drum this year (see the last section of the talk) that the biggest problem facing C++ today is the lack of a large set of de jure and de facto standard libraries. My team at Microsoft just recently announced Casablanca , a cloud-oriented C++ library and that we intend to open source, and we’re making other even bigger efforts that I hope will bear fruit and I’ll be able to share soon. C++ Cloud Concurrency Software Development

C++ 56

HammerDB v4.2 New Features Pt2: Increase of TPROC-C Schema Size Limits

HammerDB

For further information on right sizing, see the post: How Many Warehouses for the HammerDB TPC-C Test? Prior to version 4.2

C++ 52

This spring: High-Performance and Low-Latency C++ (Stockholm) and ACCU (Bristol)

Sutter's Mill

I don’t get to Europe very often apart from ISO C++ standards meetings, but this spring I’ve been able to accept invitations for two English-language European events in the last week of April. Tue-Thu Apr 25-27: High-Performance and Low-Latency C++ (Stockholm). On April 25-27, I’ll be in Stockholm (Kista) giving a three-day seminar on “High-Performance and Low-Latency C++.” Will C++ continue growing forever? Can C++ code be simplified?

Talk now online: The Future of C++ (VC++, ISO C++)

Sutter's Mill

Yesterday, many thousands of you were in the room or live online for my talk on The Future of C++. This has been a phenomenal year for C++, since C++11’s publication just 12 months ago. And yesterday was a great day for C++. minor) C++ at Microsoft. On September 12, we shipped VC++ 2012 with the complete C++11 standard library, and adding support for C++11 range- for , enum class , override and final. major) C++ across the industry.

C++ 40

Cross Compiling C/C++ for Android

Nick Desaulniers

Let’s say you want to build a hello world command line application in C or C++ and run it on your Android phone. How would you go about it? It’s not super practical; apps visible and distributable to end users must use the framework (AFAIK), but for folks looking to get into developing on ARM it’s likely they have an ARM device in their pocket.

C++ 41

C++ and Beyond 2011

Sutter's Mill

I’m very much looking forward to C++ and Beyond 2011 this August, again with Scott Meyers and Andrei Alexandrescu. This year’s program will be heavily oriented toward performance (first) and C++0x (second). There are two talks announced so far: Andrei will be giving an in-depth talk on “BIG: C++ Strategies, Data Structures, and Algorithms Aimed at Scalability.” I’ll be giving a brand-new talk on “C++ and the GPU… and Beyond.”

C++ 40

Your First C Program

Sutter's Mill

As a tribute in honor of Dennis Ritchie’s passing , I’d like to invite you to share your thoughts in this post’s comments about your first C program – either the code if you remember it approximately, or a story about when you wrote it. I wrote my first C program in 1988 as a lab assignment for a fourth-year course in computer graphics at the University of Waterloo. Here’s the thing: I had never used C. C++ Software Development

C++ 40

Garbage Collection Synopsis, and C++

Sutter's Mill

When it is going to land in the C++ world? GC and C++. C++ has always supported #1 well via reference counted smart pointers. Those are now standard in C++11 in the form of unique_ptr, shared_ptr, weak_ptr. C++98 had auto_ptr, but it was never great and has been deprecated. C++ has long supported #2, but less formally because the products were nonstandard, conservative, and not as portable. NET C++ Software Development

C++ 40

All Hail Bug Reports: How We Reduced the Analysis Time of the User’s Project From 80 to 4 Hours

DZone

If both sides achieve the desired result, it's a win-win situation.net performance software development c# csharp static analysis pvs-studio sastPeople often see work in support as something negative. Today we'll look at it from a different perspective.

C++ 188

Elements of Modern C++ Style

Sutter's Mill

As I’m getting ready to resume writing a few new (or updated) Guru of the Week Items for the C++11 era, I’ve been looking through the wonderful features of C++11 and analyzing just which ones will affect the baseline style of how I write modern C++ code, both for myself and for publication. Here’s the intro: Elements of Modern C++ Style. “C++11 C++11 feels like a new language.” – Bjarne Stroustrup. The C++11 standard offers many useful new features.

C++ 40

World’s youngest C++ programmer?

Sutter's Mill

I’m seeing many younger programmers picking up C++. The average age at C++ events over the past year has been declining rapidly as the audience sizes grow with more and younger people in addition to the C++ veterans. He has also gained knowledge of C++, the programming language developed by Danish computer scientist Bjarne Stroustrup, without any formal training. C++ Opinion & Editorial Software Development

C++ 40

Finding compiler bugs with C-Reduce

Nick Desaulniers

Support for a long awaited GNU C extension, asm goto , is in the midst of landing in Clang and LLVM. In this post, we’ll take a look at using C-Reduce , a multithreaded code bisection utility for C/C++, to help narrow done a reproducer for a real compiler bug. It’s mostly a post to myself in the future, so that I can remind myself how to run C-reduce on the Linux kernel again, since this is now the third real compiler bug it’s helped me track down.

C++ 40

C++ AMP keynote is online

Sutter's Mill

Yesterday I had the privilege of talking about some of the work we’ve been doing to support massive parallelism on GPUs in the next version of Visual C++. The video of my talk announcing C++ AMP is now available on Channel 9. Minimal: It adds just one general-purpose language extension that addresses not only the immediate problem (dealing with cores that can’t support full C++) but many others.

C++ 40

CheriABI: enforcing valid pointer provenance and minimizing pointer privilege in the POSIX C run-time environment

The Morning Paper

CheriABI: enforcing valid pointer provenance and minimizing pointer privilege in the POSIX C run-time environment Davis et al., The basic question here is whether it is practical to support a large-scale C-language software stack with strong pointer-based protection… with only modest changes to existing C code-bases and with reasonable performance cost. And this all has to work for whole-system executions, not just the C-language portion of user processes.

C++ 54

How to Compare Core Dumps for Simple Time Travel Debugging

DZone

tutorial performance c++ debugging c crash post-mortemHow can the difference between two Linux core dumps be identified and why would this even come up? This is going to be lengthy, but will hopefully give you your answer to both of those questions. The Case for Comparing Core Dumps.

C++ 145

MSTest Tutorial: Running First Selenium Automation Script

DZone

In this MSTest tutorial for Selenium automation, I’ll help you run your first MSTest script for automated web testing with Selenium C#. tutorial performance c# automation testing c sharp testing tutorial mstest

C++ 152

Faster remainders when the divisor is a constant: beating compilers and libdivide

Daniel Lemire

I believe that all optimizing C/C++ compilers know how to pull this trick and it is generally beneficial irrespective of the processor’s architecture. In concrete terms, here is the C code to compute the remainder of the division by some fixed divisor d : uint32_t d =. ; // your divisor > 0. uint64_t c = UINT64_C ( 0xFFFFFFFFFFFFFFFF ) / d + 1 ; // fastmod computes (n mod d) given precomputed c. return n * c < = c - 1 ; }.

Troubleshooting a Crash Triggered by Clang Compiler Optimization

DZone

If someone told you that the following C++ function would cause the program to crash, what would you think it is that caused the problem? tutorial performance c++ cpp debug troubleshoot nebula graph gcc clangxxxxxxxxxx. std::string b2s ( bool b ) {. return b ? true" : "false" ; 3. }.

C++ and Beyond Panel: Modern C++ = Clean, Safe, and Faster Than Ever

Sutter's Mill

I just posted the following panel announcement to the C++ and Beyond site. C++11 is kind of like “C++ Dreamliner.” European readers may equally consider it “C++ 380.” ). Others have disputed various parts of this statement – whether C++11 really has a usable safe subset, whether C++ is really necessarily faster than code in other languages, and other questions. C++ Software Development Talks & Events

C++ 40

My Final C++ and Beyond 2011 Sessions

Sutter's Mill

I just posted two more sessions I’ll be giving next month at C++ and Beyond. “C++ Renaissance.” keynote talk at C&B 2011, and it’s time to cover an increasingly open secret: After a decade-long affair with managed languages where it became unfashionable to be interested in C++, C++’s power and efficiency are now getting very fashionable again. already know that C++ is “the” language of choice for demanding applications.

C++ 40

How Many Warehouses for the HammerDB TPC-C Test?

HammerDB

The official TPC-C test has a fixed number of users per warehouse and uses keying and thinking time so that the workload generated by each user is not intensive. This is a very typical FAQ and although detailed in the documentation some extra details may help in sizing and configuration. For a really quick answer create a schema with 250-500 warehouses per server CPU socket for more details size as follows. .

The Future of C++: Live broadcast this Friday

Sutter's Mill

In my talk on Friday, there will be announcements of broad interest to C++ developers on all compilers and platforms. The Future of C++. This talk will give an update on recent progress and near-future directions for C++, both at Microsoft and across the industry, with some announcements of interest in both areas. The speaker is the lead language architect of Visual C++ and chair of the ISO C++ committee. C++ Microsoft Software Development Talks & Events

C++ 40

Two More C&B Sessions: C++0x Memory Model (Scott) and Exceptional C++0x (me)

Sutter's Mill

Scott Meyers, Andrei Alexandrescu and I are continuing to craft and announce the technical program for C++ and Beyond (C&B) 2011 , and two more sessions are now posted. All talks are brand-new material created specifically for C&B 2011. This is stuff that in a perfect world nobody should ever have to know, but in our actual world every modern C++ developer who cares about correct high-performance code has to understand it thoroughly.

C++ 40

C++ and Beyond Session: Lambdas, Lambdas Everywhere

Sutter's Mill

We’ll be posting abstracts (summaries) of the C++ and Beyond 2010 sessions over the coming days over at the C&B site. I delivered a ‘sneak peek’ preview of a subset of this material in conjunction with the ISO C++ standards meeting in Switzerland two months ago, but the full talk will be given publicly for the first time at C++ and Beyond. Here’s the abstract: Why care about C++0x lambda functions? Lambdas, Lambdas Everywhere.

How to Generate Test Reports in NUnit

DZone

As far as Selenium C# is concerned, Extent and Allure are the preferred NUnit reporting tools. tutorial performance c# test automation automation testing selenium test automation nunit

90 seconds @Build: “It’s a great week for C++”

Sutter's Mill

C++ Microsoft Software Development Talks & EventsA few hours ago I sat down to give a short teaser for my webcast talk this Friday. Here it is. Feel free to forward. (I I don’t think they believed me when I said I could keep it to under two minutes.).

C++ 40

Static Analysis Protects Your Code From Time Bombs

DZone

c pvs-studio static code analysis bug sast static code analysis tool blender buffer overflowStatic code analysis allows you to identify and eliminate many defects at an early stage. Moreover, it's possible to detect dormant errors that don't show themselves when they appear.

Code 152

Talk + panel online: “(Not Your Father’s) C++” + “Native Languages” Panel

Sutter's Mill

Last week at the Lang.NEXT 2012 conference in Redmond, I gave a 40-minute C++ talk and participated on a native languages panel. Here’s the 40-min C++ talk, taken from the C9 site: (Not Your Father’s) C++ Herb Sutter. What makes ISO C++11 "feel like a new language"? What things that we know about past C++ do we need to unlearn? Why is C++ designed the way it is – historically, and in C++11? NET C++ Software Development Talks & Events

C++ 40