TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cryengine Source Code

212 pointsby TiccyRobbyalmost 5 years ago

8 comments

Nicanalmost 5 years ago
This is on the front page again. Please take some time to read this wonderful function: <a href="https:&#x2F;&#x2F;github.com&#x2F;CRYTEK&#x2F;CRYENGINE&#x2F;blob&#x2F;release&#x2F;Code&#x2F;CryEngine&#x2F;CryPhysics&#x2F;livingentity.cpp#L1300" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;CRYTEK&#x2F;CRYENGINE&#x2F;blob&#x2F;release&#x2F;Code&#x2F;CryEng...</a><p>EDIT: That whole function is a minefield. Just taking a quick look:<p>* 814 lines of code<p>* goto inside 3 nested for-loops<p>* macros<p>* commented out code<p>* new&#x2F;delete, with no RAII<p>* thread specific variables and locks (?)
评论 #23663834 未加载
评论 #23663712 未加载
评论 #23663613 未加载
评论 #23663829 未加载
评论 #23664982 未加载
评论 #23664408 未加载
评论 #23666614 未加载
评论 #23664022 未加载
评论 #23666096 未加载
评论 #23663765 未加载
评论 #23665746 未加载
评论 #23663807 未加载
评论 #23663244 未加载
评论 #23664325 未加载
评论 #23663210 未加载
评论 #23664615 未加载
评论 #23664607 未加载
评论 #23664420 未加载
评论 #23663374 未加载
评论 #23663629 未加载
ebg13almost 5 years ago
Many of the filed issues are &quot;X not work&quot; and not very interesting, but this one...this one is a real gem. <a href="https:&#x2F;&#x2F;github.com&#x2F;CRYTEK&#x2F;CRYENGINE&#x2F;issues&#x2F;763" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;CRYTEK&#x2F;CRYENGINE&#x2F;issues&#x2F;763</a>
评论 #23663201 未加载
misnomealmost 5 years ago
Would it be an overreaction to not want to touch this licence with a barge pole?<p>Even ignoring the “We may change this licence at any time and it applies to you” parts, there seem to be serious restriction on usage and basically have to ask them to do _anything_ beforehand.<p>Maybe it makes sense if you are already in a project that is using this Licenced? Is this intended as a general engine licence rather than viewing the source code?
评论 #23666318 未加载
gentleman11almost 5 years ago
I considered using cryengine recently but there was an almost total lack of learning resources: I could barely find a tutorial that was newer than 5 years, especially one that involved it’s c++ APIs.<p>I suspect that lumberyards greatest advantage over cryengine in the future will simply be usable documentation provided by amazon. Cryengine is simply not usable without better docs or else an incredible amount of time. Crytek is having financial troubles but I bet their engine would have 10x adoption if they hired a team technical writers<p>Unreals docs are fairly bad also, but at least there are some third party resources to turn to
评论 #23663717 未加载
reykjavikalmost 5 years ago
Used to work with cryengine some time ago. That is by far the worst c++ codebase i&#x27;ve ever seen.
评论 #23663077 未加载
评论 #23663118 未加载
评论 #23663076 未加载
评论 #23663136 未加载
zamalekalmost 5 years ago
That license looks like a minefield. Any lawyers able to chime in on the reality of becoming tainted? Given their recent history, this is one codebase you really wouldn&#x27;t want to risk becoming tainted by.
评论 #23663134 未加载
dangalmost 5 years ago
If curious see also from 2016: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11760298" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11760298</a><p>Related significant threads: <a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;query=Cryengine%20comments%3E10&amp;sort=byDate&amp;type=story" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;que...</a>
rurbanalmost 5 years ago
The real issue is clear from their announcement post.<p>master (now main) was not always stable (of course, stable code are in the stable and release branches) so silly people complained, and the silly PM reacted by closing down pushes to main, and hereby closing down issues and PR&#x27;s. He clearly has no idea how open source code development works. Now they have to maintain two repos, the internal one and thd public one, and get no feedback from outside. Well, feedback on one year old code.