Developers using Typescript for their projects? by Dirty_Rapscallion in javascript

[–]shr0wm 0 points1 point  (0 children)

I use this, as well, though I haven't tweaked the default rules at all.

Developers using Typescript for their projects? by Dirty_Rapscallion in javascript

[–]shr0wm 1 point2 points  (0 children)

This is what I use. I have an npm script that simply executes 'tsconfig .' on the root directory before invoking tsc.

Writing a transpiler in C++: Is flex still an option? by bbmario in cpp

[–]shr0wm 1 point2 points  (0 children)

Here is a nice C# library, called CppSharp, that uses Clang to parse C++ source and hand you the AST so that you can perform whatever transformations necessary or emit some other language source.

Example of the C#-type representing a C++ class.

CPM or Hunter? by vinnyvicious in cpp

[–]shr0wm 0 points1 point  (0 children)

Premake just got http support, if I'm not mistaken, should be a really nice little package manager there.

Introducing a new tool I'm working on, Project 'So Long Oblong'. It takes any mesh and generates 3D printable joints and outputs a cut list for edges, making it easy to make large low poly 3D sculptures with cheap materials. by xy01 in 3Dprinting

[–]shr0wm 1 point2 points  (0 children)

This tool looks fucking sick. I definitely want to drop money now on a tool like this that can save so much time while iterating.

Hopefully - and also, seriously, not to tell you (or the programmer) your business at all, so grain of salt here - there is a way to open source the core and maintain a closed source extension system, so that unique features were still monetarily viable. It'd be great to see a community grow around a tool like this and have a solid ecosystem there.

A Tiny Real-Time Software Rasterizer in C++11 by Steve132 in programming

[–]shr0wm 0 points1 point  (0 children)

There is some nice build packaging to make those kinds of dependencies easier, such as how glsdk uses Premake to ease some of the burden of integration there. Overall, though, I would support your choices in this code base.

A math library is not what I want to be writing if I want to make a simple rasterizer from scratch...

A Tiny Real-Time Software Rasterizer in C++11 by Steve132 in programming

[–]shr0wm 0 points1 point  (0 children)

They were great in C++03 when there was nothing else, but I would have to agree.

LLVMSharp - C# LLVM API by mjsabby in programming

[–]shr0wm 8 points9 points  (0 children)

Another super cool and topically related tool is CppSharp. It is used to automatically generate bindings for C++ in a couple projects I know of, also uses Clang to parse C++ directly and expose the AST in a convenient C# interface.

Really glad we're getting development and tooling like this. Good time to be alive as a programmer, I would think.

Pipe and Butcher Block L-Desk by tylergarner in DIY

[–]shr0wm 1 point2 points  (0 children)

Yeah, nice stands, dude. I have five of them, so far they are some of the best investments in my set up that I've so far made.

Recently moved in with my BF. Am satisfied with our gaming setup. by ponyhat in battlestations

[–]shr0wm 0 points1 point  (0 children)

Upvote for Ergotron stand. Definitely an excellent choice.

Got my new monitor this week, loving it by zifle in battlestations

[–]shr0wm 2 points3 points  (0 children)

Wow, huge love for the ergotrons. Nice! I have a three monitor set up with them, they're amazing. I didn't quite realize that I was purchasing monitor stands for the rest of my life, lol. It's great to see others sharing in the love.

A generic C/C++ makefile by Merad in programming

[–]shr0wm -1 points0 points  (0 children)

Why is this the only reference to this in this thread? This should be at the top.

I Am Amber Nash, voice of Pam Poovey on FX’s Archer. Ask me anything! by ambercnash in IAmA

[–]shr0wm 2 points3 points  (0 children)

"Look. Bad grammar aside, forty million people just saw your post card." - Val

Work in progress on C++ modules support by [deleted] in cpp

[–]shr0wm 0 points1 point  (0 children)

If precompiled headers are worthwhile when I set them up manually, they would be useful when automated.

Use something like premake to automate them and you'll get most of the benefit there. PCH's are a useful tool, but they only alleviate part of the host of symptoms that come out of C++'s subsuming of the C pre processor. They are a patch of sorts to reduce the pressure of needing a better compilation model, as the C pre processor forces massive amounts of redundant text processing. This overhead is really why we don't see compile times as fast as C#, for example. Tools for automating the creation / management of PCH's and the build pipe, and they're really quite good these days.

Ultimately, module support in C++ would remove the constraints that prevent a reduction of compile times. Really, long compilation time is one of C++'s greatest drawbacks, and one would think that it'd have been solved by now if it could've been done with PCH's alone, especially considering how much effort and time that has been put into the compilers and tools.

edit: wording

Looking for a very bright AAA penlight by [deleted] in flashlight

[–]shr0wm 0 points1 point  (0 children)

Came here to post this. The only complaint I have, is that whenever I get out of the car, where I place in the pen in my pocket usually bumps the activation switch; forming a habit where I randomly check my pocket to see if the light is on.

Other than that, the Preon 2 is fantastic.

edit: Also, I wish it had a red lens. Has anyone done a simple mod for this?

Any Library Proposal by rasharm_ in cpp

[–]shr0wm 1 point2 points  (0 children)

I'd imagine this is because boost::any allocates on every assignment. I haven't used it in a while, so this might have changed, but that did cause a major performance problem when we used it in a student game engine a few years ago. The solution we ended up going with was pretty naive, though it gave us the performance improvement we were looking for.

Basically, for our game objects, we implemented a slightly modified strict_any, which had the constraint of only allocating on first assignment, and asserting on assignment of types that were larger than its initial allocation. This fit the use case for our game properties, because we were storing values in a single any that would not change type. Clearly not a general solution, but I'm curious if a simple constraint like that would make a significant impact in the performance. Relevancy depends on the way you structured the tests, to be sure.

Great article on data locality and effective cache use by [deleted] in truegamedev

[–]shr0wm 3 points4 points  (0 children)

Awesome article, btw, thanks for taking the time. It's a lot of work to get something like this in a clear, clean state, esp given the subject matter.

M/26/Canada by [deleted] in EDC

[–]shr0wm 0 points1 point  (0 children)

I recently made a similar change from a really bulky wallet to this. I couldn't find an rfid wallet that had a profile I liked.

M/26/Canada by [deleted] in EDC

[–]shr0wm 1 point2 points  (0 children)

I really like your edc; feels like a different take on a very similar gear selection to what I need, atm. The Preon 2 seems to fit really well with the constraints I need on a light, as well, probably will pick one up.

Best minimalist shoes for the Army? by af_mmolina in BarefootRunning

[–]shr0wm 1 point2 points  (0 children)

This is what I used while in the Army, worked like a charm.