Jump to content
4 minutes ago, Iearning said:

I've done a ton of C++ development (kernel and user) for lots of things. Ask me anything.

how do you handle multi-threading under windows?

Is there a working ncurses library for windows?

how do you feel about the boost library?

whats your preferred ide?

I'll bug you with more question as they come.

Link to comment
https://linustechtips.com/topic/1042425-c-dev-ama/#findComment-12375253
Share on other sites

Link to post
Share on other sites

6 minutes ago, CodeNova said:

how do you handle multi-threading under windows?

Is there a working ncurses library for windows?

how do you feel about the boost library?

whats your preferred ide?

I'll bug you with more question as they come.

1. It really depends on the project. Generally, for smaller projects that I do myself, CreateThread using a threadproc works fine. std::thread (a wrapper for CreateThread afaik) is a bit finicky, but also works if I'm testing something specific. For the bigger projects, it's generally done by whoever's in charge with creating the base tiered-framework; not my job :P

2. I would assume that if it exists, it would not be as-is. I'm unfamiliar with ncurses specifications, so I couldn't tell you if something worked similarly enough.

3. Boost has its uses, and some people swear by it, but any time I find myself needing something from boost, I end up recreating it myself. I've honestly never used boost in a serious setting.

4. Visual Studio 2017 Pro. Works great, no addons except ReSharper C++. Also, (not exactly an IDE) but Notepad++ is great for when I want to edit a file without the launch time of vs.

Link to comment
https://linustechtips.com/topic/1042425-c-dev-ama/#findComment-12375258
Share on other sites

Link to post
Share on other sites

18 minutes ago, CodeNova said:

Is there a working ncurses library for windows?

 

You could also make your own ncurses library using win console functionality. From a cursory look at some ncurses functionality, it doesn't look like you can do everything without some elbow grease :P

 

https://docs.microsoft.com/en-us/windows/console/console-functions

 

If you aren't interested in making it yourself, I'd look on stack overflow for ncurses alternatives for windows. A real, full port doesn't exist to my knowledge :(

 

If you absolutely want ncurses, you could try VMWare's app dependencies virtualizer (can't remember the name, I can look it up if you are interested). Functions similarly to Wine on Mac for windows apps.

Link to comment
https://linustechtips.com/topic/1042425-c-dev-ama/#findComment-12375274
Share on other sites

Link to post
Share on other sites

2 minutes ago, Iearning said:

You could also make your own ncurses library using win console functionality. From a cursory look at some ncurses functionality, it doesn't look like you can do everything without some elbow grease 

truthfully I do more embedded development, the windows api confuses the heck out of me.

Link to comment
https://linustechtips.com/topic/1042425-c-dev-ama/#findComment-12375278
Share on other sites

Link to post
Share on other sites

2 minutes ago, CodeNova said:

truthfully I do more embedded development, the windows api confuses the heck out of me.

You're missing out on a lot of C++ functionality by focusing on embedded development, but I honestly don't blame you!

 

I can walk you through how I use the API and its documentation if it interests you. I can do a single, complicated example just to make sure all of the bases are covered if you do want me to write up some information.

Link to comment
https://linustechtips.com/topic/1042425-c-dev-ama/#findComment-12375281
Share on other sites

Link to post
Share on other sites

1 minute ago, Iearning said:

You're missing out on a lot of C++ functionality by focusing on embedded development, but I honestly don't blame you!

 

I can walk you through how I use the API and its documentation if it interests you. I can do a single, complicated example just to make sure all of the bases are covered if you do want me to write up some information.

That's very kind of you, but I think ill be ok. I may bounce some ideas off you in the future if your up for some conversation. Welcome to the fourm.

Link to comment
https://linustechtips.com/topic/1042425-c-dev-ama/#findComment-12375294
Share on other sites

Link to post
Share on other sites

what are you most looking forward to in C++20? (i'm pretty hyped for modules)

Gaming build:

CPU: i7-7700k (5.0ghz, 1.312v)

GPU(s): Asus Strix 1080ti OC (~2063mhz)

Memory: 32GB (4x8) DDR4 G.Skill TridentZ RGB 3000mhz

Motherboard: Asus Prime z270-AR

PSU: Seasonic Prime Titanium 850W

Cooler: Custom water loop (420mm rad + 360mm rad)

Case: Be quiet! Dark base pro 900 (silver)
Primary storage: Samsung 960 evo m.2 SSD (500gb)

Secondary storage: Samsung 850 evo SSD (250gb)

 

Server build:

OS: Ubuntu server 16.04 LTS (though will probably upgrade to 17.04 for better ryzen support)

CPU: Ryzen R7 1700x

Memory: Ballistix Sport LT 16GB

Motherboard: Asrock B350 m4 pro

PSU: Corsair CX550M

Cooler: Cooler master hyper 212 evo

Storage: 2TB WD Red x1, 128gb OCZ SSD for OS

Case: HAF 932 adv

 

Link to comment
https://linustechtips.com/topic/1042425-c-dev-ama/#findComment-12376104
Share on other sites

Link to post
Share on other sites

3 hours ago, reniat said:

what are you most looking forward to in C++20? (i'm pretty hyped for modules)

Good question. I’ve followed the standard updates closely for C++11, 14, and 17, but just haven’t gotten around to looking at 20.

 

Im interested to see how the spaceship operator, updated for-ranged, and updated string things (“”_ and string literal template parameters) improve a development workflow.

 

Usually, I try the standards before their release, but I haven’t gotten around to it for 20. I’m pretty satisfied with 17 as it is.

Link to comment
https://linustechtips.com/topic/1042425-c-dev-ama/#findComment-12376660
Share on other sites

Link to post
Share on other sites

-Thread locked-

 

AMA threads are not permitted here per the Community Standards:

Quote

No spam

  • LMGTFY (Let Me Google That For You) links or comments in the same spirit.
  • Post count / reputation farming.
  • 'Ask Me Anything’ threads.
  • Shortened links (bit.ly etc) without the permission of staff.

 

Quote or tag me( @Crunchy Dragon) if you want me to see your reply

If a post solved your problem/answered your question, please consider marking it as "solved"

Community Standards // Join Floatplane!

Link to comment
https://linustechtips.com/topic/1042425-c-dev-ama/#findComment-12378813
Share on other sites

Link to post
Share on other sites

Guest
This topic is now closed to further replies.

×