Since you're a software developer, you have quite a range of options from simple drag-and-drop builders to fully custom solutions.
For the quickest path, you could use specialized portfolio platforms like Format, SmugMug, or Adobe Portfolio. These are designed specifically for visual artists and handle image optimization, video hosting, and responsive galleries really well. They come with photography-focused templates and built-in features like client proofing and print sales if you need those.
Given your development background, you might prefer more control. Static site generators like Gatsby or Next.js paired with a headless CMS could give you a great balance of performance and flexibility. You could use services like Cloudinary or Imgix for image optimization and transformation, and host videos on Vimeo or YouTube with custom players. This approach would let you create exactly the portfolio experience you want while keeping hosting costs low.
If you want something in between, WordPress with a premium photography theme could work well. You'd get the flexibility to customize with your coding skills while having a solid foundation to build on. Themes like Oshine or Kinetika are popular among photographers.
For a more modern approach, you could also consider using a component library like React with a gallery library such as react-photo-gallery or Photoswipe, giving you complete control over the user experience while handling the complex parts of image loading and lightbox functionality.
What's your priority - getting something up quickly, having maximum customization control, or finding a balance between the two? And do you have preferences about where to host your videos?